serial

package
v0.0.0-...-8231611 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

type Response

type Response struct {
	No uint64 `protobuf:"varint,1,opt,name=No" json:"No,omitempty"`
}

回應

func (*Response) Descriptor

func (*Response) Descriptor() ([]byte, []int)

func (*Response) GetNo

func (m *Response) GetNo() uint64

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

type SerialServiceeClient

type SerialServiceeClient interface {
	Get(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
}

func NewSerialServiceeClient

func NewSerialServiceeClient(cc *grpc.ClientConn) SerialServiceeClient

type SerialServiceeServer

type SerialServiceeServer interface {
	Get(context.Context, *Empty) (*Response, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL