Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SHA256 scram.HashGeneratorFcn = func() hash.Hash { return sha256.New() }
View Source
var SHA512 scram.HashGeneratorFcn = func() hash.Hash { return sha512.New() }
Functions ¶
Types ¶
type ClusterAdmin ¶
type ClusterAdmin struct {
// contains filtered or unexported fields
}
func NewClusterAdmin ¶
func NewClusterAdmin( ctx context.Context, url, username, password string, ) (*ClusterAdmin, error)
func (*ClusterAdmin) CreateTopic ¶
func (c *ClusterAdmin) CreateTopic(topicName string, detail *sarama.TopicDetail) error
type Producer ¶
type Producer struct {
sarama.SyncProducer
}
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.