plain

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2019 License: MIT Imports: 2 Imported by: 0

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) Next

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

func (Mechanism) Start

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

Jump to

Keyboard shortcuts

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