Documentation ¶
Index ¶
- Constants
- func RequestLogCallback(req *resty.RequestLog) error
- func ResponseLogCallback(res *resty.ResponseLog) error
- func SetDebug(c *resty.Client, debug bool) *resty.Client
- func SetFormat(format string)
- func WriteLog(ctx context.Context, name string, req *resty.Request, res *resty.Response, ...)
- type Logger
- type Logging
Constants ¶
View Source
const ( Json = "json" Default = "default" )
Variables ¶
This section is empty.
Functions ¶
func RequestLogCallback ¶
func RequestLogCallback(req *resty.RequestLog) error
func ResponseLogCallback ¶
func ResponseLogCallback(res *resty.ResponseLog) error
Types ¶
Click to show internal directories.
Click to hide internal directories.