pb

package
v0.23.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT, Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPayload        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPayload          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPayload = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type NoiseExtensions

type NoiseExtensions struct {
	WebtransportCerthashes [][]byte `protobuf:"bytes,1,rep,name=webtransport_certhashes,json=webtransportCerthashes" json:"webtransport_certhashes,omitempty"`
}

func (*NoiseExtensions) Descriptor

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

func (*NoiseExtensions) GetWebtransportCerthashes

func (m *NoiseExtensions) GetWebtransportCerthashes() [][]byte

func (*NoiseExtensions) Marshal

func (m *NoiseExtensions) Marshal() (dAtA []byte, err error)

func (*NoiseExtensions) MarshalTo

func (m *NoiseExtensions) MarshalTo(dAtA []byte) (int, error)

func (*NoiseExtensions) MarshalToSizedBuffer

func (m *NoiseExtensions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NoiseExtensions) ProtoMessage

func (*NoiseExtensions) ProtoMessage()

func (*NoiseExtensions) Reset

func (m *NoiseExtensions) Reset()

func (*NoiseExtensions) Size

func (m *NoiseExtensions) Size() (n int)

func (*NoiseExtensions) String

func (m *NoiseExtensions) String() string

func (*NoiseExtensions) Unmarshal

func (m *NoiseExtensions) Unmarshal(dAtA []byte) error

func (*NoiseExtensions) XXX_DiscardUnknown

func (m *NoiseExtensions) XXX_DiscardUnknown()

func (*NoiseExtensions) XXX_Marshal

func (m *NoiseExtensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NoiseExtensions) XXX_Merge

func (m *NoiseExtensions) XXX_Merge(src proto.Message)

func (*NoiseExtensions) XXX_Size

func (m *NoiseExtensions) XXX_Size() int

func (*NoiseExtensions) XXX_Unmarshal

func (m *NoiseExtensions) XXX_Unmarshal(b []byte) error

type NoiseHandshakePayload

type NoiseHandshakePayload struct {
	IdentityKey []byte           `protobuf:"bytes,1,opt,name=identity_key,json=identityKey" json:"identity_key"`
	IdentitySig []byte           `protobuf:"bytes,2,opt,name=identity_sig,json=identitySig" json:"identity_sig"`
	Extensions  *NoiseExtensions `protobuf:"bytes,4,opt,name=extensions" json:"extensions,omitempty"`
}

func (*NoiseHandshakePayload) Descriptor

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

func (*NoiseHandshakePayload) GetExtensions

func (m *NoiseHandshakePayload) GetExtensions() *NoiseExtensions

func (*NoiseHandshakePayload) GetIdentityKey

func (m *NoiseHandshakePayload) GetIdentityKey() []byte

func (*NoiseHandshakePayload) GetIdentitySig

func (m *NoiseHandshakePayload) GetIdentitySig() []byte

func (*NoiseHandshakePayload) Marshal

func (m *NoiseHandshakePayload) Marshal() (dAtA []byte, err error)

func (*NoiseHandshakePayload) MarshalTo

func (m *NoiseHandshakePayload) MarshalTo(dAtA []byte) (int, error)

func (*NoiseHandshakePayload) MarshalToSizedBuffer

func (m *NoiseHandshakePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NoiseHandshakePayload) ProtoMessage

func (*NoiseHandshakePayload) ProtoMessage()

func (*NoiseHandshakePayload) Reset

func (m *NoiseHandshakePayload) Reset()

func (*NoiseHandshakePayload) Size

func (m *NoiseHandshakePayload) Size() (n int)

func (*NoiseHandshakePayload) String

func (m *NoiseHandshakePayload) String() string

func (*NoiseHandshakePayload) Unmarshal

func (m *NoiseHandshakePayload) Unmarshal(dAtA []byte) error

func (*NoiseHandshakePayload) XXX_DiscardUnknown

func (m *NoiseHandshakePayload) XXX_DiscardUnknown()

func (*NoiseHandshakePayload) XXX_Marshal

func (m *NoiseHandshakePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NoiseHandshakePayload) XXX_Merge

func (m *NoiseHandshakePayload) XXX_Merge(src proto.Message)

func (*NoiseHandshakePayload) XXX_Size

func (m *NoiseHandshakePayload) XXX_Size() int

func (*NoiseHandshakePayload) XXX_Unmarshal

func (m *NoiseHandshakePayload) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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