saslauthenticate

package
v0.4.45 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 3 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	AuthBytes []byte `kafka:"min=v0,max=v1"`
}

func (*Request) ApiKey

func (r *Request) ApiKey() protocol.ApiKey

func (*Request) RawExchange added in v0.4.31

func (r *Request) RawExchange(rw io.ReadWriter) (protocol.Message, error)

func (*Request) Required added in v0.4.31

func (*Request) Required(versions map[protocol.ApiKey]int16) bool

type Response

type Response struct {
	ErrorCode         int16  `kafka:"min=v0,max=v1"`
	ErrorMessage      string `kafka:"min=v0,max=v1,nullable"`
	AuthBytes         []byte `kafka:"min=v0,max=v1"`
	SessionLifetimeMs int64  `kafka:"min=v1,max=v1"`
}

func (*Response) ApiKey

func (r *Response) ApiKey() protocol.ApiKey

Jump to

Keyboard shortcuts

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