Documentation ¶
Index ¶
- func CheckRpcResponse(resp interface{}, err error) *constant.ErrorStatus
- func FillBizResp(resp interface{}, status *constant.ErrorStatus)
- func GetInternalIP() (ip string)
- func GetJsonMap(obj interface{}) map[string]interface{}
- func GetJsonString(obj interface{}) string
- func IsNil(v reflect.Value) bool
- func IsStatusSuccess(status *constant.ErrorStatus) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRpcResponse ¶
func CheckRpcResponse(resp interface{}, err error) *constant.ErrorStatus
func FillBizResp ¶
func FillBizResp(resp interface{}, status *constant.ErrorStatus)
func GetInternalIP ¶
func GetInternalIP() (ip string)
func GetJsonMap ¶
func GetJsonMap(obj interface{}) map[string]interface{}
func GetJsonString ¶
func GetJsonString(obj interface{}) string
func IsStatusSuccess ¶
func IsStatusSuccess(status *constant.ErrorStatus) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.