pb

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 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 NoiseHandshakePayload

type NoiseHandshakePayload struct {
	IdentityKey []byte `protobuf:"bytes,1,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
	IdentitySig []byte `protobuf:"bytes,2,opt,name=identity_sig,json=identitySig,proto3" json:"identity_sig,omitempty"`
	Data        []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

func (*NoiseHandshakePayload) Descriptor

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

func (*NoiseHandshakePayload) GetData

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

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