Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PLAIN represents plain mechanism PLAIN = "plain" // EXTERNAL represents external mechanism EXTERNAL = "external" // DIGEST_MD5 represents digest-md5 mechanism DIGEST_MD5 = "digest-md5" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { EvaluateChallenge([]byte) ([]byte, error) Wrap([]byte) ([]byte, error) Unwrap([]byte) ([]byte, error) IsComplete() bool Mechanism() string HasInitialResponse() bool }
Client is SASL client interface
func NewDigestMD5Client ¶
NewDigestMD5Client creates a SASL DigestMd5 mechanism with optional authorization ID
func NewExternalClient ¶
NewExternalClient creates a SASL External mechanism with optional authorization ID
Click to show internal directories.
Click to hide internal directories.