Documentation
¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
envelope.proto
It has these top-level messages:
Request Response
Protorpc provides a net/rpc proto-rpc codec. See envelope.proto for the format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadNetString ¶
ReadNetString reads data from a big-endian netstring.
Types ¶
type Request ¶
type Request struct {
ServiceMethod *string `protobuf:"bytes,1,opt,name=service_method" json:"service_method,omitempty"`
Seq *uint64 `protobuf:"fixed64,2,opt,name=seq" json:"seq,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Request) GetServiceMethod ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct {
ServiceMethod *string `protobuf:"bytes,1,opt,name=service_method" json:"service_method,omitempty"`
Seq *uint64 `protobuf:"fixed64,2,opt,name=seq" json:"seq,omitempty"`
Error *string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Response) GetServiceMethod ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Directories
¶
| Path | Synopsis |
|---|---|
|
client
|
|
|
mock
module
|
|
|
rpc
module
|
|
|
cmd
module
|
|
|
codec
module
|
|
|
bytes
module
|
|
|
grpc
module
|
|
|
json
module
|
|
|
jsonrpc
module
|
|
|
proto
module
|
|
|
protorpc
module
|
|
|
errors
module
|
|
|
metadata
module
|
|
|
registry
module
|
|
|
consul
module
|
|
|
gossip
module
|
|
|
mdns
module
|
|
|
memory
module
|
|
|
selector
module
|
|
|
dns
module
|
|
|
registry
module
|
|
|
static
module
|
|
|
server
module
|
|
|
debug
module
|
|
|
debug/proto
module
|
|
|
mock
module
|
|
|
rpc
module
|
|
|
transport
module
|
|
|
http
module
|
|
|
memory
module
|
Click to show internal directories.
Click to hide internal directories.