pb

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSession        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSession          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSession = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ClientHandshake

type ClientHandshake struct {
	Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*ClientHandshake) Descriptor

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

func (*ClientHandshake) GetNonce

func (m *ClientHandshake) GetNonce() []byte

func (*ClientHandshake) Marshal

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

func (*ClientHandshake) MarshalTo

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

func (*ClientHandshake) MarshalToSizedBuffer

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

func (*ClientHandshake) ProtoMessage

func (*ClientHandshake) ProtoMessage()

func (*ClientHandshake) Reset

func (m *ClientHandshake) Reset()

func (*ClientHandshake) Size

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

func (*ClientHandshake) String

func (m *ClientHandshake) String() string

func (*ClientHandshake) Unmarshal

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

func (*ClientHandshake) XXX_DiscardUnknown

func (m *ClientHandshake) XXX_DiscardUnknown()

func (*ClientHandshake) XXX_Marshal

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

func (*ClientHandshake) XXX_Merge

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

func (*ClientHandshake) XXX_Size

func (m *ClientHandshake) XXX_Size() int

func (*ClientHandshake) XXX_Unmarshal

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

type ServerHandshake

type ServerHandshake struct {
	Challenge  []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	Complexity uint32 `protobuf:"varint,2,opt,name=complexity,proto3" json:"complexity,omitempty"`
}

func (*ServerHandshake) Descriptor

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

func (*ServerHandshake) GetChallenge

func (m *ServerHandshake) GetChallenge() []byte

func (*ServerHandshake) GetComplexity

func (m *ServerHandshake) GetComplexity() uint32

func (*ServerHandshake) Marshal

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

func (*ServerHandshake) MarshalTo

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

func (*ServerHandshake) MarshalToSizedBuffer

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

func (*ServerHandshake) ProtoMessage

func (*ServerHandshake) ProtoMessage()

func (*ServerHandshake) Reset

func (m *ServerHandshake) Reset()

func (*ServerHandshake) Size

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

func (*ServerHandshake) String

func (m *ServerHandshake) String() string

func (*ServerHandshake) Unmarshal

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

func (*ServerHandshake) XXX_DiscardUnknown

func (m *ServerHandshake) XXX_DiscardUnknown()

func (*ServerHandshake) XXX_Marshal

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

func (*ServerHandshake) XXX_Merge

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

func (*ServerHandshake) XXX_Size

func (m *ServerHandshake) XXX_Size() int

func (*ServerHandshake) XXX_Unmarshal

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

type WoWRequest

type WoWRequest struct {
}

func (*WoWRequest) Descriptor

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

func (*WoWRequest) Marshal

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

func (*WoWRequest) MarshalTo

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

func (*WoWRequest) MarshalToSizedBuffer

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

func (*WoWRequest) ProtoMessage

func (*WoWRequest) ProtoMessage()

func (*WoWRequest) Reset

func (m *WoWRequest) Reset()

func (*WoWRequest) Size

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

func (*WoWRequest) String

func (m *WoWRequest) String() string

func (*WoWRequest) Unmarshal

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

func (*WoWRequest) XXX_DiscardUnknown

func (m *WoWRequest) XXX_DiscardUnknown()

func (*WoWRequest) XXX_Marshal

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

func (*WoWRequest) XXX_Merge

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

func (*WoWRequest) XXX_Size

func (m *WoWRequest) XXX_Size() int

func (*WoWRequest) XXX_Unmarshal

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

type WoWResponse

type WoWResponse struct {
	Wow string `protobuf:"bytes,1,opt,name=wow,proto3" json:"wow,omitempty"`
}

func (*WoWResponse) Descriptor

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

func (*WoWResponse) GetWow

func (m *WoWResponse) GetWow() string

func (*WoWResponse) Marshal

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

func (*WoWResponse) MarshalTo

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

func (*WoWResponse) MarshalToSizedBuffer

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

func (*WoWResponse) ProtoMessage

func (*WoWResponse) ProtoMessage()

func (*WoWResponse) Reset

func (m *WoWResponse) Reset()

func (*WoWResponse) Size

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

func (*WoWResponse) String

func (m *WoWResponse) String() string

func (*WoWResponse) Unmarshal

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

func (*WoWResponse) XXX_DiscardUnknown

func (m *WoWResponse) XXX_DiscardUnknown()

func (*WoWResponse) XXX_Marshal

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

func (*WoWResponse) XXX_Merge

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

func (*WoWResponse) XXX_Size

func (m *WoWResponse) XXX_Size() int

func (*WoWResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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