noop

package
v5.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_internet_headers_noop_config_proto protoreflect.FileDescriptor

Functions

func NewConnectionHeader

func NewConnectionHeader(context.Context, interface{}) (interface{}, error)

func NewHeader

func NewHeader(context.Context, interface{}) (interface{}, error)

Types

type Config

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

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ConnectionConfig

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

func (*ConnectionConfig) Descriptor deprecated

func (*ConnectionConfig) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionConfig.ProtoReflect.Descriptor instead.

func (*ConnectionConfig) ProtoMessage

func (*ConnectionConfig) ProtoMessage()

func (*ConnectionConfig) ProtoReflect

func (x *ConnectionConfig) ProtoReflect() protoreflect.Message

func (*ConnectionConfig) Reset

func (x *ConnectionConfig) Reset()

func (*ConnectionConfig) String

func (x *ConnectionConfig) String() string

type ConnectionHeader

type ConnectionHeader struct{}

func (ConnectionHeader) Client

func (ConnectionHeader) Client(conn net.Conn) net.Conn

func (ConnectionHeader) Server

func (ConnectionHeader) Server(conn net.Conn) net.Conn
type Header struct{}

func (Header) Serialize

func (Header) Serialize([]byte)

Serialize implements PacketHeader.

func (Header) Size

func (Header) Size() int32

Jump to

Keyboard shortcuts

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