Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SHA256 scram.HashGeneratorFcn = sha256.New SHA512 scram.HashGeneratorFcn = sha512.New )
Functions ¶
This section is empty.
Types ¶
type ConfigBuilder ¶
type ConfigBuilder struct {
// contains filtered or unexported fields
}
func NewConfigBuilder ¶
func NewConfigBuilder() *ConfigBuilder
func NewConfigBuilderFrom ¶
func NewConfigBuilderFrom(conf *sarama.Config) *ConfigBuilder
func (*ConfigBuilder) With ¶
func (cb *ConfigBuilder) With(callback func(conf *sarama.Config)) *ConfigBuilder
func (*ConfigBuilder) WithSASLSCRAM ¶
func (cb *ConfigBuilder) WithSASLSCRAM(user, password string, hashGenFcn scram.HashGeneratorFcn, mechanism sarama.SASLMechanism) *ConfigBuilder
type XDGSCRAMClient ¶
type XDGSCRAMClient struct { *scram.Client *scram.ClientConversation scram.HashGeneratorFcn }
func (*XDGSCRAMClient) Begin ¶
func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error)
func (*XDGSCRAMClient) Done ¶
func (x *XDGSCRAMClient) Done() bool
Click to show internal directories.
Click to hide internal directories.