utils

package
Version: v0.0.0-...-efc65ca Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCacheDir

func CreateCacheDir() string

func CreateDir

func CreateDir(cacheDir string, cacheperm os.FileMode)

func InitLogger

func InitLogger() (*log.Logger, *os.File, error)

func IsValidHostname

func IsValidHostname(host string) (string, bool)

func IsValidSubHostname

func IsValidSubHostname(host string) (string, bool)

func StringInSlice

func StringInSlice(a string, list []string) bool

func TokenGenerator

func TokenGenerator() string

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL