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 health checker for nats.
func NewChecker ¶
func NewChecker(conn *nats.Conn) *Checker
NewChecker returns a new health checker for nats.
type Health ¶
type Health struct {
// contains filtered or unexported fields
}
Health represents health checker plugin for nats connection.
func NewHealth ¶
func NewHealth() *Health
NewHealth returns a new health checker plugin with default options.
func NewHealthWithConfigPath ¶
NewHealthWithConfigPath returns a new health checker plugin with options from config path.
func NewHealthWithOptions ¶
NewHealthWithOptions returns a new health checker plugin with options.
type Options ¶
Options health checker plugin for nats 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.