config

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	GatewayURL          string
	RabbitConnectionURL string
	RabbitSanitizedURL  string

	Topology internal.Topology

	TopicRefreshTime   time.Duration
	BasicAuth          *auth.BasicAuthCredentials
	InsecureSkipVerify bool
}

Controller is the config needed for the connector

func NewConfig

func NewConfig() (*Controller, error)

NewConfig reads the connector config from environment variables and further validates them, in some cases it will leverage default values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL