Versions in this module Expand all Collapse all v1 v1.0.0 Feb 15, 2019 Changes in this version + const MechPlain + var ErrUnexpectedClientResponse = errors.New("sasl: unexpected client response") + var ErrUnexpectedServerChallenge = errors.New("sasl: unexpected server challenge") + type Client interface + Free func() + Start func(mechlist []string) (mech string, initial []byte, done bool, err error) + Step func(challenge []byte) (response []byte, done bool, err error) + func NewClient(opts *Options) Client + type Mech string + type Options struct + Host string + Password string + Service string + Username string + type Status byte + const StatusBad + const StatusComplete + const StatusError + const StatusOK + const StatusStart + type TSaslTransport struct + func NewTSaslTransport(t thrift.TTransport, opts *Options) (*TSaslTransport, error) + func (t *TSaslTransport) Close() error + func (t *TSaslTransport) Flush(ctx context.Context) error + func (t *TSaslTransport) IsOpen() bool + func (t *TSaslTransport) Open() error + func (t *TSaslTransport) Read(buf []byte) (int, error) + func (t *TSaslTransport) RemainingBytes() (num_bytes uint64) + func (t *TSaslTransport) Write(buf []byte) (int, error) Incompatible versions in this module v2.1.0+incompatible Jan 13, 2021 v2.0.0+incompatible May 26, 2019