Documentation
¶
Overview ¶
Package base universal tool package
Package base universal tool package
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrConfigNotFound config didn't find ErrConfigNotFound = Error{ ErrCode: 10404, ErrMsg: "config not found", } // ErrRequestIsEmpty request is empty ErrRequestIsEmpty = Error{ ErrCode: 10404, ErrMsg: "request is empty", } ErrClientTokenIsEmpty = Error{ ErrCode: 10404, ErrMsg: "client token is empty", } ErrClientAccessTokenIsEmpty = Error{ ErrCode: 10404, ErrMsg: "client access token is empty", } )
Functions ¶
func ErrConfigKeyValueEmpty ¶
ErrConfigKeyValueEmpty params key not found
func ErrParamKeyValueEmpty ¶ added in v0.0.9
ErrParamKeyValueEmpty params key not found
Types ¶
type CommonError ¶
CommonError 抖音返回的通用错误。
type CommonErrorExtra ¶
CommonErrorExtra 抖音返回的错误额外信息。
type CommonResponse ¶ added in v0.0.2
type CommonResponse struct { ErrMsg string `json:"err_msg"` LogID string `json:"log_id"` ErrNo int `json:"err_no"` }
CommonResponse 抖音返回的通用错误。
Click to show internal directories.
Click to hide internal directories.