Documentation
¶
Overview ¶
Package test_proto is a generated protocol buffer package.
It is generated from these files:
grpc/test_proto/interceptors_test.proto
It has these top-level messages:
Time
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterChillerServer ¶
func RegisterChillerServer(s *grpc.Server, srv ChillerServer)
Types ¶
type ChillerClient ¶
type ChillerClient interface {
// Sleep for the given amount of time, and return the amount of time slept.
Chill(ctx context.Context, in *Time, opts ...grpc.CallOption) (*Time, error)
}
func NewChillerClient ¶
func NewChillerClient(cc *grpc.ClientConn) ChillerClient
type ChillerServer ¶
type Time ¶
type Time struct {
Time *int64 `protobuf:"varint,1,opt,name=time" json:"time,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Time) Descriptor ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.