Documentation ¶
Index ¶
- type Client
- func (c *Client) ConfigApiClientFun(apiClientFun golog.ApiClientFun)
- func (c *Client) ConfigZapClientFun(apiZapLogFun golog.ApiZapLogFun)
- func (c *Client) Get(ctx context.Context, _method string, notMustParams ...gorequest.Params) ([]byte, error)
- func (c *Client) Ip(ctx context.Context, ip string) *IpResult
- type IpResponse
- type IpResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConfigApiClientFun ¶ added in v1.0.109
func (c *Client) ConfigApiClientFun(apiClientFun golog.ApiClientFun)
ConfigApiClientFun 日志配置
func (*Client) ConfigZapClientFun ¶ added in v1.0.141
func (c *Client) ConfigZapClientFun(apiZapLogFun golog.ApiZapLogFun)
ConfigZapClientFun 日志配置
type IpResponse ¶
type IpResponse struct { Ip string `json:"ip"` Pro string `json:"pro"` ProCode string `json:"proCode"` City string `json:"city"` CityCode string `json:"cityCode"` Region string `json:"region"` RegionCode string `json:"regionCode"` Addr string `json:"addr"` RegionNames string `json:"regionNames"` Err string `json:"err"` }
Click to show internal directories.
Click to hide internal directories.