Documentation ¶
Overview ¶
Package echo is a generated protocol buffer package.
It is generated from these files:
echo.proto
It has these top-level messages:
Time Ping Pong
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSecurePingServer ¶
func RegisterSecurePingServer(s *grpc.Server, srv SecurePingServer)
Types ¶
type Ping ¶
type Ping struct { Sender string `protobuf:"bytes,1,opt,name=sender" json:"sender,omitempty"` Sseq int64 `protobuf:"varint,2,opt,name=sseq" json:"sseq,omitempty"` Sent *Time `protobuf:"bytes,3,opt,name=sent" json:"sent,omitempty"` Ttl int64 `protobuf:"varint,4,opt,name=ttl" json:"ttl,omitempty"` }
func (*Ping) Descriptor ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
type Pong ¶
type Pong struct { Success bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"` Sseq int64 `protobuf:"varint,2,opt,name=sseq" json:"sseq,omitempty"` Rseq int64 `protobuf:"varint,3,opt,name=rseq" json:"rseq,omitempty"` Sent *Time `protobuf:"bytes,4,opt,name=sent" json:"sent,omitempty"` }
func (*Pong) Descriptor ¶
func (*Pong) GetSuccess ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
type SecurePingClient ¶
type SecurePingClient interface {
Echo(ctx context.Context, in *Ping, opts ...grpc.CallOption) (*Pong, error)
}
func NewSecurePingClient ¶
func NewSecurePingClient(cc *grpc.ClientConn) SecurePingClient
type SecurePingServer ¶
type Time ¶
type Time struct { Seconds int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"` Nanoseconds int64 `protobuf:"varint,2,opt,name=nanoseconds" json:"nanoseconds,omitempty"` }
func (*Time) Descriptor ¶
func (*Time) GetNanoseconds ¶
func (*Time) GetSeconds ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.