Documentation
¶
Index ¶
- func ArrContains(s []string, e string) bool
- func CreateToken(userId uint64) (string, error)
- func Erc20verify(address string, resp func(...string)) bool
- func FmtDuration(d time.Duration) string
- func GenerateNewPassword(length int) string
- func GenerateSecureToken(length int) string
- func GenerateSocialsToken(length int) string
- func GetENV(key string) string
- func GetHomeDir() string
- func HashPass(password string) string
- func InTimeSpan(start, end, check time.Time) bool
- func InlineIF(condition bool, a interface{}, b interface{}) interface{}
- func InlineIFT[T any](condition bool, a T, b T) T
- func IsLower(s string) bool
- func IsUpper(s string) bool
- func RandInt(min int, max int) int
- func ReadAvatar(filename string) ([]byte, error)
- func ReadFile(fileName string) ([]string, error)
- func ReportError(err string, statusCode int)
- func ReportMessage(message ...string)
- func ScheduleFunc(f func(), interval time.Duration) *time.Ticker
- func SendMessage(token string, title string, body string, data map[string]string)
- func ToFixed(num float64, precision int) float64
- func TrimQuotes(s string) string
- func WrapErrorLog(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrContains ¶
func CreateToken ¶
func Erc20verify ¶
func FmtDuration ¶
func GenerateNewPassword ¶
func GenerateSecureToken ¶
func GenerateSocialsToken ¶
func GetHomeDir ¶
func GetHomeDir() string
func InTimeSpan ¶
func ReadAvatar ¶
func ReportError ¶
func ReportMessage ¶
func ReportMessage(message ...string)
func SendMessage ¶
func TrimQuotes ¶
func WrapErrorLog ¶
func WrapErrorLog(message string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.