Documentation
¶
Index ¶
- Constants
- func FingerPrint(config *types.ConfigFile)
- func FormatDBLogPrefix(input_time *time.Time) (result string)
- func FormatTime(input_time *time.Time) (result string)
- func GenerateNewKeys()
- func GetFormattedTimeString() (result string)
- func GetFormattedTimeStringOBJ() (result_string string, result_time time.Time)
- func GetJSON(baseURL string, headers map[string]string, params map[string]string) (target interface{})
- func GetLocalIPAddresses() (ip_addresses []string)
- func ParseConfig(file_path string) (result types.ConfigFile)
- func ParseFormattedTimeString(time_str string) (result time.Time)
- func PostJSON(url string, headers map[string]string, payload interface{}) (result interface{})
- func RemoveNonASCII(input string) (result string)
- func SanitizeInputString(input string) (result string)
- func SetupStackTraceReport()
- func Sha256(input string) (result string)
- func ShuffleKeys[K comparable, V any](m map[K]V) (result []K)
- func StringToInt(input string) (result int)
- func WakeOnLan(mac_address string)
- func WriteJSON(filePath string, data interface{})
- func WriteLoginURLPrefix(server_login_url_prefix string)
- func WriteLoginURLPrefixWG(wg *sync.WaitGroup, server_login_url_prefix string)
Constants ¶
View Source
const SanitizedStringSizeLimit = 100
Variables ¶
This section is empty.
Functions ¶
func FingerPrint ¶
func FingerPrint(config *types.ConfigFile)
func FormatDBLogPrefix ¶
Year , Month , Day
func FormatTime ¶
func GenerateNewKeys ¶
func GenerateNewKeys()
func GetFormattedTimeString ¶
func GetFormattedTimeString() (result string)
func GetLocalIPAddresses ¶
func GetLocalIPAddresses() (ip_addresses []string)
func ParseConfig ¶
func ParseConfig(file_path string) (result types.ConfigFile)
func RemoveNonASCII ¶
func SanitizeInputString ¶
func SetupStackTraceReport ¶
func SetupStackTraceReport()
func ShuffleKeys ¶
func ShuffleKeys[K comparable, V any](m map[K]V) (result []K)
func StringToInt ¶
func WriteLoginURLPrefix ¶
func WriteLoginURLPrefix(server_login_url_prefix string)
func WriteLoginURLPrefixWG ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.