plain

package
v0.4.47 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 3 Imported by: 172

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mechanism

type Mechanism struct {
	Username string
	Password string
}

Mechanism implements the PLAIN mechanism and passes the credentials in clear text.

func (Mechanism) Name added in v0.3.1

func (Mechanism) Name() string

func (Mechanism) Next

func (m Mechanism) Next(ctx context.Context, challenge []byte) (bool, []byte, error)

func (Mechanism) Start

func (m Mechanism) Start(ctx context.Context) (sasl.StateMachine, []byte, error)

Jump to

Keyboard shortcuts

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