protocol

package
v0.0.0-...-0e6a260 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleProtocolPacket

func HandleProtocolPacket(kreq kmsg.Request) (kmsg.Response, error)

Types

type APIVersions

type APIVersions struct {
	// contains filtered or unexported fields
}

func (*APIVersions) Handle

func (h *APIVersions) Handle(kreq kmsg.Request) (kmsg.Response, error)

type APIVersionsProtocolHandler

type APIVersionsProtocolHandler struct {
	ApiKey     int16
	MinVersion int16
	MaxVersion int16

	Handler ProtocolHandler
}

type Metadata

type Metadata struct {
}

func (*Metadata) Handle

func (h *Metadata) Handle(kreq kmsg.Request) (kmsg.Response, error)

type Produce

type Produce struct {
}

func (*Produce) Handle

func (h *Produce) Handle(kreq kmsg.Request) (kmsg.Response, error)

type ProtocolHandler

type ProtocolHandler interface {
	Handle(kreq kmsg.Request) (kmsg.Response, error)
}

Jump to

Keyboard shortcuts

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