secure

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthModeNone             = "none"
	AuthModeUsernamePassword = "usernamepassword"
	AuthModeCert             = "clientcert"
	AuthModeCA               = "cacert"
	// Name of the keys to look for in secret provider
	MQTTSecretUsername   = "username"
	MQTTSecretPassword   = "password"
	MQTTSecretClientKey  = "clientkey"
	MQTTSecretClientCert = AuthModeCert
	MQTTSecretCACert     = AuthModeCA
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MqttFactory

type MqttFactory struct {
	// contains filtered or unexported fields
}

func NewMqttFactory

func NewMqttFactory(lc logger.LoggingClient, sp security.SecretProvider, mode string, path string, skipVerify bool) MqttFactory

func (MqttFactory) Create

func (factory MqttFactory) Create(opts *mqtt.ClientOptions) (mqtt.Client, error)

Jump to

Keyboard shortcuts

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