config

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Debug              bool   `yaml:"debug"`
	URL                string `yaml:"url"`
	BaseDN             string `yaml:"baseDn"`
	LDAPUsername       string `yaml:"ldapUsername"`
	LDAPassword        string `yaml:"ldapPassword"`
	LDAPFilter         string `yaml:"ldapFilter"`
	CACertPath         string `yaml:"caCertPath"`
	CAKeyPath          string `yaml:"caKeyPath"`
	CAPassword         string `yaml:"caPassword"`
	CertValidityDays   int    `yaml:"certValidityDays"`
	CertKeySize        int    `yaml:"certKeySize"`
	UserCertSaveToPath string `yaml:"userCertSaveToPath"`

	ConfigPath string
}

func NewConfig

func NewConfig() (*Config, error)

func (*Config) ConfigureLogger

func (cfg *Config) ConfigureLogger()

Jump to

Keyboard shortcuts

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