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 KafkaDriver ¶
type KafkaDriver struct {
// contains filtered or unexported fields
}
func (*KafkaDriver) Prepare ¶
func (d *KafkaDriver) Prepare() error
func (*KafkaDriver) Send ¶
func (d *KafkaDriver) Send(key, data []byte) error
type KafkaSASLAlgorithm ¶ added in v1.1.1
type KafkaSASLAlgorithm string
const ( KAFKA_SASL_NONE KafkaSASLAlgorithm = "none" KAFKA_SASL_PLAIN KafkaSASLAlgorithm = "plain" KAFKA_SASL_SCRAM_SHA256 KafkaSASLAlgorithm = "scram-sha256" KAFKA_SASL_SCRAM_SHA512 KafkaSASLAlgorithm = "scram-sha512" )
type XDGSCRAMClient ¶ added in v1.1.1
type XDGSCRAMClient struct { *scram.Client *scram.ClientConversation scram.HashGeneratorFcn }
func (*XDGSCRAMClient) Begin ¶ added in v1.1.1
func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error)
func (*XDGSCRAMClient) Done ¶ added in v1.1.1
func (x *XDGSCRAMClient) Done() bool
Click to show internal directories.
Click to hide internal directories.