go_protos

package
v0.0.0-...-ff2eb03 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthError        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowError          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupError = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthNetResult        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNetResult          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNetResult = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ERROR

type ERROR struct {
	Code                 uint64   `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ERROR) Descriptor

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

func (*ERROR) GetCode

func (m *ERROR) GetCode() uint64

func (*ERROR) GetMsg

func (m *ERROR) GetMsg() string

func (*ERROR) Marshal

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

func (*ERROR) MarshalTo

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

func (*ERROR) MarshalToSizedBuffer

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

func (*ERROR) ProtoMessage

func (*ERROR) ProtoMessage()

func (*ERROR) Reset

func (m *ERROR) Reset()

func (*ERROR) Size

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

func (*ERROR) String

func (m *ERROR) String() string

func (*ERROR) Unmarshal

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

func (*ERROR) XXX_DiscardUnknown

func (m *ERROR) XXX_DiscardUnknown()

func (*ERROR) XXX_Marshal

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

func (*ERROR) XXX_Merge

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

func (*ERROR) XXX_Size

func (m *ERROR) XXX_Size() int

func (*ERROR) XXX_Unmarshal

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

type NetResult

type NetResult struct {
	Version              uint64   `protobuf:"varint,1,opt,name=Version,proto3" json:"Version,omitempty"`
	Code                 uint64   `protobuf:"varint,2,opt,name=Code,proto3" json:"Code,omitempty"`
	Msg                  string   `protobuf:"bytes,3,opt,name=Msg,proto3" json:"Msg,omitempty"`
	Data                 []byte   `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetResult) Descriptor

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

func (*NetResult) GetCode

func (m *NetResult) GetCode() uint64

func (*NetResult) GetData

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

func (*NetResult) GetMsg

func (m *NetResult) GetMsg() string

func (*NetResult) GetVersion

func (m *NetResult) GetVersion() uint64

func (*NetResult) Marshal

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

func (*NetResult) MarshalTo

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

func (*NetResult) MarshalToSizedBuffer

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

func (*NetResult) ProtoMessage

func (*NetResult) ProtoMessage()

func (*NetResult) Reset

func (m *NetResult) Reset()

func (*NetResult) Size

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

func (*NetResult) String

func (m *NetResult) String() string

func (*NetResult) Unmarshal

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

func (*NetResult) XXX_DiscardUnknown

func (m *NetResult) XXX_DiscardUnknown()

func (*NetResult) XXX_Marshal

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

func (*NetResult) XXX_Merge

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

func (*NetResult) XXX_Size

func (m *NetResult) XXX_Size() int

func (*NetResult) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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