Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientRegister ¶
ClientRegister registers a new newrelic client on redis client.
Types ¶
type ClientNewrelic ¶
type ClientNewrelic struct {
// contains filtered or unexported fields
}
ClientNewrelic represents a newrelic client for redis.
func NewClientNewrelicWithConfigPath ¶
func NewClientNewrelicWithConfigPath(path string) (*ClientNewrelic, error)
NewClientNewrelicWithConfigPath returns a newrelic client with options from config path.
func NewClientNewrelicWithOptions ¶
func NewClientNewrelicWithOptions(options *Options) *ClientNewrelic
NewClientNewrelicWithOptions returns a newrelic client with options.
type Options ¶
type Options struct {
Enabled bool
}
Options represents a newrelic client for redis options.
func NewOptions ¶
NewOptions returns options from config or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals options based a given key path.
Click to show internal directories.
Click to hide internal directories.