Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log represents a logger middleware for resty.
func NewLogWithConfigPath ¶
NewLogWithConfigPath returns a new log with options from config path.
func NewLogWithOptions ¶
NewLogWithOptions returns a new log with options.
type Options ¶
Options represents resty log options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
Click to show internal directories.
Click to hide internal directories.