saslauthenticate

package
v0.4.48 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 3 Imported by: 0

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

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

func (*Request) Required

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