g

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VERSION    = "0.2.1"
	USERS_CSV  = "users.csv"
	FAILED_CSV = "failed.csv"
)

Variables

View Source
var (
	ConfigFile string
)

Functions

func GetLines

func GetLines(filePath string) ([]string, error)

func GetUsers

func GetUsers(filePath string) ([]models.User, error)

func ParseConfig

func ParseConfig(cfg string)

Types

type GlobalConfig

type GlobalConfig struct {
	Ldap *models.LDAP_CONFIG `jspn:"ldap"`
	Http *HttpConfig         `json:"http"`
}

func Config

func Config() *GlobalConfig

type HttpConfig

type HttpConfig struct {
	Listen string `json:"listen"`
}

Jump to

Keyboard shortcuts

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