Documentation ¶
Overview ¶
Package bar demonstrates a protobuf package.
We include a doc.go file in here to let protobuild know to place a Go/Protobuf package.
Index ¶
- func RegisterBarServer(s *grpc.Server, srv BarServer)
- type BarClient
- type BarServer
- type DoRequest
- func (*DoRequest) Descriptor() ([]byte, []int)
- func (m *DoRequest) GetTimestamp() *timestamp.Timestamp
- func (*DoRequest) ProtoMessage()
- func (m *DoRequest) Reset()
- func (m *DoRequest) String() string
- func (m *DoRequest) XXX_DiscardUnknown()
- func (m *DoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DoRequest) XXX_Merge(src proto.Message)
- func (m *DoRequest) XXX_Size() int
- func (m *DoRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedBarServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBarServer ¶
Types ¶
type BarClient ¶
type BarClient interface {
Do(ctx context.Context, in *DoRequest, opts ...grpc.CallOption) (*internal.Empty, error)
}
BarClient is the client API for Bar service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBarClient ¶
func NewBarClient(cc grpc.ClientConnInterface) BarClient
type DoRequest ¶
type DoRequest struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DoRequest) Descriptor ¶
func (*DoRequest) GetTimestamp ¶
func (*DoRequest) ProtoMessage ¶
func (*DoRequest) ProtoMessage()
func (*DoRequest) XXX_DiscardUnknown ¶
func (m *DoRequest) XXX_DiscardUnknown()
func (*DoRequest) XXX_Marshal ¶
func (*DoRequest) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.