Documentation
¶
Overview ¶
Package tests is a generated protocol buffer package.
It is generated from these files:
external.proto
It has these top-level messages:
Ping Pong
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterExternalServer ¶
func RegisterExternalServer(s *grpc.Server, srv ExternalServer)
Types ¶
type ExternalClient ¶
type ExternalClient interface {
Echo(ctx context.Context, in *Ping, opts ...grpc.CallOption) (*Pong, error)
}
func NewExternalClient ¶
func NewExternalClient(cc *grpc.ClientConn) ExternalClient
type Ping ¶
type Ping struct {
Value int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func (*Ping) Descriptor ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
type Pong ¶
type Pong struct {
Value int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func (*Pong) Descriptor ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.