Documentation ¶
Index ¶
- func AmAdmin() bool
- func EasyHash(long bool) string
- func ExtractIP(s string) string
- func ExtractSettings(obj interface{}, data interface{}) error
- func GenerateCert(hostname string) (tls.Certificate, error)
- func GenerateCertAndKey(host string) (string, string, error)
- func GetAppConfigDir(appName string) (string, error)
- func GetNetworks() ([]network, error)
- func IsDevMode() bool
- func MD5(content string) string
- func PrintDebug(f string, args ...interface{})
- func QueryArray(q url.Values, key string) []string
- func ToJSON(any interface{}) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractSettings ¶
func ExtractSettings(obj interface{}, data interface{}) error
func GenerateCert ¶
func GenerateCert(hostname string) (tls.Certificate, error)
func GetAppConfigDir ¶ added in v1.3.1
func GetNetworks ¶
func GetNetworks() ([]network, error)
func PrintDebug ¶
func PrintDebug(f string, args ...interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.