Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultRequestPrefix = "/mrpc/request" DefaultResponsePrefix = "/mrpc/response" )
Variables ¶
View Source
var EOF = []byte{0}
View Source
var MessageIDs = sync.Pool{New: func() interface{} { return "/" + strconv.FormatUint(rand.Uint64(), 10) }}
Functions ¶
Types ¶
type MethodDesc ¶
type MethodDesc = grpc.MethodDesc
type MethodInfo ¶
type MethodInfo = grpc.MethodInfo
type OriginalProto ¶
type OriginalProto struct {
// contains filtered or unexported fields
}
func (*OriginalProto) Concat ¶
func (orig *OriginalProto) Concat(subs ...*OriginalProto) *OriginalProto
Concat NOT change itself
func (OriginalProto) Marshal ¶
func (orig OriginalProto) Marshal() ([]byte, error)
func (*OriginalProto) ProtoMessage ¶
func (orig *OriginalProto) ProtoMessage()
func (*OriginalProto) Reset ¶
func (orig *OriginalProto) Reset()
func (*OriginalProto) String ¶
func (orig *OriginalProto) String() string
func (*OriginalProto) Unmarshal ¶
func (orig *OriginalProto) Unmarshal(byt []byte) error
type ServiceDesc ¶
type ServiceDesc = grpc.ServiceDesc
type ServiceInfo ¶
type ServiceInfo = grpc.ServiceInfo
type StreamDesc ¶
type StreamDesc = grpc.StreamDesc
Click to show internal directories.
Click to hide internal directories.