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