Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var DefaultConfig = Config{ VerboseLogging: false, WebhookPath: "/catchpoint-webhook", Port: "9090", }
DefaultConfig is the default config for the catchpoint integration
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
	VerboseLogging bool   `yaml:"verbose_logging,omitempty"`
	WebhookPath    string `yaml:"webhook_path,omitempty"`
	Port           string `yaml:"port,omitempty"`
}
    Config is the configuration for the catchpoint integration
func (*Config) InstanceKey ¶
Identifier returns a string that identifies the integration.
func (*Config) NewIntegration ¶
func (c *Config) NewIntegration(l log.Logger) (integrations.Integration, error)
NewIntegration creates a new integration from the config.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler for Config
 Click to show internal directories. 
   Click to hide internal directories.