config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 13 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

	IsTLSEnabled bool
	TLSConfig    *tls.Config

	Topology internal.Topology

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

Controller is the config needed for the connector

func NewConfig

func NewConfig(fs afero.Fs) (*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