Versions in this module Expand all Collapse all v1 v1.0.0 Feb 16, 2025 Changes in this version + const DEFAULT_MAX_LENGTH + var AUTH = "auth" + var AUTH_CONF = "auth-conf" + var AUTH_INT = "auth-int" + var QOP_TO_FLAG = map[string]byte + type AnonymousMechanism struct + func NewAnonymousMechanism() *AnonymousMechanism + type Client struct + func NewSaslClient(host string, mechanism Mechanism) *Client + func (client *Client) Complete() bool + func (client *Client) Decode(incoming []byte) ([]byte, error) + func (client *Client) Dispose() + func (client *Client) Encode(outgoing []byte) ([]byte, error) + func (client *Client) GetConfig() *MechanismConfig + func (client *Client) Start() ([]byte, error) + func (client *Client) Step(challenge []byte) ([]byte, error) + type CramMD5Mechanism struct + func NewCramMD5Mechanism(username string, password string) *CramMD5Mechanism + type DigestMD5Mechanism struct + func NewDigestMD5Mechanism(service string, username string, password string) *DigestMD5Mechanism + type GSSAPIMechanism struct + func NewGSSAPIMechanism(service string) (mechanism *GSSAPIMechanism, err error) + type Mechanism interface + type MechanismConfig struct + AuthorizationID string + type PlainMechanism struct + func NewPlainMechanism(username string, password string) *PlainMechanism + type QOP []byte