noop

package
v1.8.10 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MPL-2.0 Imports: 7 Imported by: 44

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_internet_headers_noop_config_proto protoreflect.FileDescriptor

Functions

func NewNoOpConnectionHeader

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

func NewNoOpHeader

func NewNoOpHeader(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 NoOpConnectionHeader

type NoOpConnectionHeader struct{}

func (NoOpConnectionHeader) Client

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

func (NoOpConnectionHeader) Server

func (NoOpConnectionHeader) Server(conn net.Conn) net.Conn

type NoOpHeader

type NoOpHeader struct{}

func (NoOpHeader) Serialize

func (NoOpHeader) Serialize([]byte)

Serialize implements PacketHeader.

func (NoOpHeader) Size

func (NoOpHeader) Size() int32

Jump to

Keyboard shortcuts

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