saramaext

package module
v0.0.0-...-ffca25c Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

func (cb *ConfigBuilder) Build() (*sarama.Config, error)

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

func (*XDGSCRAMClient) Step

func (x *XDGSCRAMClient) Step(challenge string) (response string, err error)

Jump to

Keyboard shortcuts

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