// Package network define struct of network operation package network type FailureResponse struct { Code int `json:"code" example:"200"` Msg string `json:"msg"` PayLoad map[string]interface{} `json:"payload" swaggertype:"object,string" example:"key:value"` } type SuccessResponse struct { Code int `json:"code" example:"200"` Msg string `json:"msg"` PayLoad map[string]interface{} `json:"payload" swaggertype:"object,string" example:"key:value"` }