credential

package
v0.0.0-...-da226d4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algo

type Algo string
const (
	Sha256 Algo = "sha256"
	Sha512 Algo = "sha512"
)

func (Algo) ToScamAlgo

func (a Algo) ToScamAlgo() *scram.Algorithm

type Conf

type Conf struct {
	Algo     Algo
	User     string
	Password string
	Cert     string
}

func (Conf) GetSaslAndTls

func (c Conf) GetSaslAndTls(ctx context.Context) (*sasl.Mechanism, *tls.Config, error)

Jump to

Keyboard shortcuts

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