Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker represents resty client checker.
func NewChecker ¶
NewChecker creates the resty client checker.
type Health ¶
type Health struct {
// contains filtered or unexported fields
}
Health represents resty health.
func NewHealthWithConfigPath ¶
NewHealthWithConfigPath returns a health with the options from config path.
func NewHealthWithOptions ¶
NewHealthWithOptions returns a health with the options provided.
type Options ¶
type Options struct { Name string Host string Endpoint string Enabled bool Description string Required bool }
Options represents resty health 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.