config

package
v1.0.1-0...-373c8f8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 2 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 {
	Server struct {
		Host string `yaml:"host"`
		Port int    `yaml:"port"`
	} `yaml:"server"`
	LDAP struct {
		Host        string `yaml:"host"`
		Port        int    `yaml:"port"`
		Dn          string `yaml:"dn"`
		Password    string `yaml:"password"`
		UserSearch  string `yaml:"user_search"`
		GroupSearch string `yaml:"group_search"`
	} `yaml:"ldap"`
	DBDir string `yaml:"db_dir"`
}

Config deepin tracker default configurations

func GetConfig

func GetConfig(filename string) *Config

Jump to

Keyboard shortcuts

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