Documentation ¶
Index ¶
- Constants
- func AlertUpdateInfo()
- func Atoi(s string) int
- func CheckVersion(version string) (bool, string, error)
- func GenerateRandomPasswords() string
- func GetCurrentVersion() string
- func GetUpdateTime() string
- func Init(level string)
- func IsFlushCache(oldTimestamp int64) bool
- func ReadTimestamp(TimestampType string) int64
- func RemoveDuplicatesAndEmpty(a []string) (ret []string)
- func ReturnTimestampType(provider string, TimestampType string) string
- func ReturnVersionTimestampFile() string
- func TimeDifference(oldTimestamp int64)
- func WriteTimestamp(TimestampType string)
Constants ¶
View Source
const ( LogLevelTrace = "trace" LogLevelDebug = "debug" LogLevelInfo = "info" LogLevelWarn = "warn" LogLevelError = "error" LogLevelFatal = "fatal" LogLevelPanic = "panic" )
Variables ¶
This section is empty.
Functions ¶
func AlertUpdateInfo ¶
func AlertUpdateInfo()
func GenerateRandomPasswords ¶
func GenerateRandomPasswords() string
func GetCurrentVersion ¶
func GetCurrentVersion() string
func GetUpdateTime ¶
func GetUpdateTime() string
func IsFlushCache ¶
func ReadTimestamp ¶
func ReturnTimestampType ¶
func ReturnVersionTimestampFile ¶
func ReturnVersionTimestampFile() string
func TimeDifference ¶
func TimeDifference(oldTimestamp int64)
func WriteTimestamp ¶
func WriteTimestamp(TimestampType string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.