Documentation ¶
Index ¶
- func FlattenMap(input map[string]interface{}, infix string) map[string]interface{}
- func GenerateCode() string
- func GenerateFileName(filename string) string
- func GenerateFolderName() string
- func GenerateJwtToken(user_uuid string, community_uuid string) (string, uint, error)
- func GenerateObjectName(filename string) string
- func GenerateRandomString(length int) string
- func GetCommunityUUID(c *gin.Context) (string, error)
- func GetUserUUID(c *gin.Context) (string, error)
- func OpenKFBanner()
- func StructToMapString(data interface{}) (map[string]string, error)
- func StructToMapWithJSONTag(data interface{}) (map[string]interface{}, error)
- type JwtClaims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlattenMap ¶
func GenerateFileName ¶
GenerateFileName generate file name.
func GenerateJwtToken ¶
func GenerateObjectName ¶
GenerateObjectName generate object name with folder and random filename.
func GenerateRandomString ¶
GenerateRandomString generate random string.
func GetCommunityUUID ¶
GetCommunityUUID get community uuid from context.
func GetUserUUID ¶
GetUserID get user uuid from context.
func OpenKFBanner ¶
func OpenKFBanner()
func StructToMapString ¶
func StructToMapWithJSONTag ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.