MCPcopy
hub / github.com/segmentio/kafka-go / Mechanism

Struct Mechanism

sasl/plain/plain.go:12–15  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

10// Mechanism implements the PLAIN mechanism and passes the credentials in clear
11// text.
12type Mechanism struct {
13 Username string
14 Password string
15}
16
17func (Mechanism) Name() string {
18 return "PLAIN"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected