pion

package
v0.0.0-...-614d85d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetAppConfig

func SetAppConfig(conf *Config)

Types

type Config

type Config struct {
	LDAP          LDAPSetting
	TokenLifetime time.Duration
}

func AppConfig

func AppConfig() *Config

AppConfig returns the singleton app config

type LDAPSetting

type LDAPSetting struct {
	Host         string
	Port         int
	Type         string
	UserBase     string
	GroupBase    string
	UserClass    string
	GroupClass   string
	BindDN       string
	BindPassword string
}

func (LDAPSetting) String

func (s LDAPSetting) String() string

Jump to

Keyboard shortcuts

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