config

package
v1.5.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTask

func NewTask(manager *ldap.Manager) (server.Task, error)

Types

type Config

type Config struct {
	Url      *url.URL          `env:"LDAP_URL" help:"LDAP connection URL"` // Connection URL
	Password string            `env:"LDAP_PASSWORD" help:"Password"`       // Password
	BaseDN   string            `env:"LDAP_BASE_DN" help:"Base DN"`         // Base DN
	Router   server.HTTPRouter `kong:"-"`                                  // HTTP Router
}

func (Config) Description

func (c Config) Description() string

func (Config) Name

func (c Config) Name() string

func (Config) New

func (c Config) New(ctx context.Context) (server.Task, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL