Documentation ¶
Overview ¶
Package graceful is a generated protocol buffer package.
It is generated from these files:
graceful.proto
It has these top-level messages:
Request Response
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGraceServiceServer ¶
func RegisterGraceServiceServer(s *grpc.Server, srv GraceServiceServer)
Types ¶
type GraceServiceClient ¶
type GraceServiceClient interface {
Grace(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
func NewGraceServiceClient ¶
func NewGraceServiceClient(cc *grpc.ClientConn) GraceServiceClient
type GraceServiceServer ¶
type Request ¶
type Request struct {
From string `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"`
}
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct {
Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.