kafka-go: github.com/segmentio/kafka-go/sasl/plain Index | Files

package plain

import "github.com/segmentio/kafka-go/sasl/plain"

Index

Package Files

plain.go

type Mechanism Uses

type Mechanism struct {
    Username string
    Password string
}

Mechanism implements the PLAIN mechanism and passes the credentials in clear text.

func (Mechanism) Name Uses

func (Mechanism) Name() string

func (Mechanism) Next Uses

func (m Mechanism) Next(ctx context.Context, challenge []byte) (bool, []byte, error)

func (Mechanism) Start Uses

func (m Mechanism) Start(ctx context.Context) (sasl.StateMachine, []byte, error)

Package plain imports 3 packages (graph). Updated 2019-09-03. Refresh now. Tools for package owners.