Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Newrelic ¶
type Newrelic struct {
// contains filtered or unexported fields
}
Newrelic represents a new newrelic plugin for fiber.
func NewNewrelicWithConfigPath ¶
NewNewrelicWithConfigPath returns a new newrelic plugin with options from config path.
func NewNewrelicWithOptions ¶
NewNewrelicWithOptions returns a new newrelic plugin with options.
type Options ¶
type Options struct {
Enabled bool
}
Options represents newrelic plugin for fiber options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals options based a given key path.
Click to show internal directories.
Click to hide internal directories.