Documentation ¶
Index ¶
- Variables
- func ConfigPath() (string, error)
- func CreateHttpAuth(file string, name string, password string) error
- func EnsurePath(pathName string) error
- func GetFreePort() (string, error)
- func GetRandom(n int) string
- func GetUser(username string) (*user.User, error)
- func Homedir() (string, error)
- func LoadConfig(filePath string, conf interface{}) error
- func LoadHomeConfig(fileName string, conf interface{}) error
- func PortFree(port string) bool
- func WriteConfig(fileName string, conf interface{}) error
- type Config
- type MainConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var (
VerString string
)
Functions ¶
func ConfigPath ¶
func EnsurePath ¶
func GetFreePort ¶
func LoadConfig ¶
func LoadHomeConfig ¶
func WriteConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.