Documentation ¶
Overview ¶
Package foo demonstrates a protobuf package.
We include a doc.go file in here to let protobuild know to place a Go/Protobuf package.
Package foo is a generated protocol buffer package.
It is generated from these files:
github.com/stevvooe/protobuild/examples/foo/foo.proto
It has these top-level messages:
DoRequest
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFooServer ¶
Types ¶
type DoRequest ¶
type DoRequest struct {
Timestamp *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
}
func (*DoRequest) Descriptor ¶
func (*DoRequest) GetTimestamp ¶
func (m *DoRequest) GetTimestamp() *google_protobuf1.Timestamp
func (*DoRequest) ProtoMessage ¶
func (*DoRequest) ProtoMessage()
type FooClient ¶
type FooClient interface {
Do(ctx context.Context, in *DoRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
}
func NewFooClient ¶
func NewFooClient(cc *grpc.ClientConn) FooClient
Click to show internal directories.
Click to hide internal directories.