Documentation
¶
Index ¶
- Constants
- func B(str string) string
- func BB(str string) string
- func BgR(str string) string
- func FromStringToUint32(value string) (uint32, error)
- func G(str string) string
- func LogErr(errType types.XnsError, errDesc ...interface{}) error
- func LogInfo(log ...interface{})
- func LogKV(key string, value string)
- func LogSuccess(log ...interface{})
- func LogWait(log ...interface{})
- func LogWarning(log ...interface{})
- func ParseAPI1Data(r *http.Request) (string, error)
- func ParseAPI2Data(r *http.Request) (string, error)
- func ParseAPI3Data(r *http.Request) (string, error)
- func R(str string) string
- func ToString(value interface{}, defaultValue string) string
- func ToStringTrim(value interface{}, defaultValue string) string
- func W(str string) string
- func Y(str string) string
Constants ¶
View Source
const ( InitSuccessLog = "success initialization" RecoverKeySuccessLog = "recover key successfully" StoreContractsSuccessLog = "store xns contracts successfully" InstantiatecontractsSuccessLog = "instantiate xns contracts successfully" )
Variables ¶
This section is empty.
Functions ¶
func FromStringToUint32 ¶
func LogSuccess ¶
func LogSuccess(log ...interface{})
func LogWarning ¶
func LogWarning(log ...interface{})
func ToStringTrim ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.