Documentation ¶
Overview ¶
Package serial is a generated protocol buffer package.
It is generated from these files:
serial.proto
It has these top-level messages:
Empty Response
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSerialServiceeServer ¶
func RegisterSerialServiceeServer(s *grpc.Server, srv SerialServiceeServer)
Types ¶
type Empty ¶
type Empty struct { }
請求
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type Response ¶
type Response struct {
No uint64 `protobuf:"varint,1,opt,name=No" json:"No,omitempty"`
}
回應
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
type SerialServiceeClient ¶
type SerialServiceeClient interface {
Get(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
}
func NewSerialServiceeClient ¶
func NewSerialServiceeClient(cc *grpc.ClientConn) SerialServiceeClient
Click to show internal directories.
Click to hide internal directories.