Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostOptions ¶
type HostOptions struct { // Config is the bootstrap metrics configuration loaded from config file. Config *provider.MetricsProviderOptions }
HostOptions defines all of the settings that our metric's execution environment provides.
func NewHostOptionsFromEnvironment ¶
func NewHostOptionsFromEnvironment(options hostoptions.ProviderConfig) HostOptions
NewHostOptionsFromEnvironment creates a new HostOptions object from a ProviderConfig object.
type Service ¶
type Service struct {
Options HostOptions
}
func NewService ¶
func NewService(options HostOptions) *Service
NewService creates a new Service instance with the given HostOptions.
Click to show internal directories.
Click to hide internal directories.