requestf

package
v0.0.0-...-f1b2c4c Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReqPacket

type ReqPacket struct {
	Version              int32    `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	ReqId                int32    `protobuf:"varint,2,opt,name=reqId,proto3" json:"reqId,omitempty"`
	FuncName             string   `protobuf:"bytes,3,opt,name=funcName,proto3" json:"funcName,omitempty"`
	Servant              string   `protobuf:"bytes,4,opt,name=servant,proto3" json:"servant,omitempty"`
	Content              []byte   `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	Timeout              int32    `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqPacket) Bytes

func (req *ReqPacket) Bytes() (res []byte)

func (*ReqPacket) Descriptor

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

func (*ReqPacket) GetContent

func (m *ReqPacket) GetContent() []byte

func (*ReqPacket) GetFuncName

func (m *ReqPacket) GetFuncName() string

func (*ReqPacket) GetReqId

func (m *ReqPacket) GetReqId() int32

func (*ReqPacket) GetServant

func (m *ReqPacket) GetServant() string

func (*ReqPacket) GetTimeout

func (m *ReqPacket) GetTimeout() int32

func (*ReqPacket) GetVersion

func (m *ReqPacket) GetVersion() int32

func (*ReqPacket) ProtoMessage

func (*ReqPacket) ProtoMessage()

func (*ReqPacket) Reset

func (m *ReqPacket) Reset()

func (*ReqPacket) String

func (m *ReqPacket) String() string

func (*ReqPacket) XXX_DiscardUnknown

func (m *ReqPacket) XXX_DiscardUnknown()

func (*ReqPacket) XXX_Marshal

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

func (*ReqPacket) XXX_Merge

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

func (*ReqPacket) XXX_Size

func (m *ReqPacket) XXX_Size() int

func (*ReqPacket) XXX_Unmarshal

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

type RspPacket

type RspPacket struct {
	Version              int32    `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	ReqId                int32    `protobuf:"varint,2,opt,name=reqId,proto3" json:"reqId,omitempty"`
	Content              []byte   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	IsErr                bool     `protobuf:"varint,4,opt,name=isErr,proto3" json:"isErr,omitempty"`
	ResDesc              string   `protobuf:"bytes,5,opt,name=resDesc,proto3" json:"resDesc,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RspPacket) Bytes

func (rsp *RspPacket) Bytes() (res []byte)

func (*RspPacket) Descriptor

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

func (*RspPacket) GetContent

func (m *RspPacket) GetContent() []byte

func (*RspPacket) GetIsErr

func (m *RspPacket) GetIsErr() bool

func (*RspPacket) GetReqId

func (m *RspPacket) GetReqId() int32

func (*RspPacket) GetResDesc

func (m *RspPacket) GetResDesc() string

func (*RspPacket) GetVersion

func (m *RspPacket) GetVersion() int32

func (*RspPacket) ProtoMessage

func (*RspPacket) ProtoMessage()

func (*RspPacket) Reset

func (m *RspPacket) Reset()

func (*RspPacket) String

func (m *RspPacket) String() string

func (*RspPacket) XXX_DiscardUnknown

func (m *RspPacket) XXX_DiscardUnknown()

func (*RspPacket) XXX_Marshal

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

func (*RspPacket) XXX_Merge

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

func (*RspPacket) XXX_Size

func (m *RspPacket) XXX_Size() int

func (*RspPacket) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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