Documentation ¶
Index ¶
- func Decrypt(ciphertext, key string) (string, error)
- func Encrypt(plaintext, key string) (string, error)
- func GenJwt(id, name, jwtSecret, secret string) (string, error)
- func GetLocalIP() string
- func GraceFul(timeout time.Duration, server *http.Server) *graceful.Server
- func Id() int64
- func MustLoad(configFile *string, c any)
- func ParseJwt(tokenString, jwtSecret, secret, targetId, targetName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalIP ¶
func GetLocalIP() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.