Documentation ¶
Index ¶
- func Compute(input string) string
- func Cover(s, converV string, length int) string
- func GetClientIP(req *http.Request) string
- func GetIP() string
- func GetImageSizeDistribution(size int) string
- func GetPartitionKey(t time.Time) int16
- func GetRunningEnv() string
- func GetStatus() map[string]string
- func InitCat()
- func JoinString(args ...string) string
- func LogErrorEvent(cat cat.Cat, name string, err string)
- func LogEvent(cat cat.Cat, title string, name string, data map[string]string)
- func Substr(str string, start, length int) string
- type Error
- type RegexpExt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientIP ¶
func GetPartitionKey ¶
func GetRunningEnv ¶
func GetRunningEnv() string
get running environment from environment variable 'NEPHELE_ENV' only support env 'uat' and 'prod'
func JoinString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.