bar

package
v0.0.0-...-bd679fa Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package bar is a generated protocol buffer package.

It is generated from these files:

github.com/stevvooe/protobuild/examples/bar/bar.proto

It has these top-level messages:

DoRequest

Package foo demonstrates a protobuf package.

We include a doc.go file in here to let protobuild know to place a Go/Protobuf package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBarServer

func RegisterBarServer(s *grpc.Server, srv BarServer)

Types

type BarClient

type BarClient interface {
	Do(ctx context.Context, in *DoRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
}

func NewBarClient

func NewBarClient(cc *grpc.ClientConn) BarClient

type BarServer

type BarServer interface {
	Do(context.Context, *DoRequest) (*google_protobuf.Empty, error)
}

type DoRequest

type DoRequest struct {
	Timestamp *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
}

func (*DoRequest) Descriptor

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

func (*DoRequest) GetTimestamp

func (m *DoRequest) GetTimestamp() *google_protobuf1.Timestamp

func (*DoRequest) ProtoMessage

func (*DoRequest) ProtoMessage()

func (*DoRequest) Reset

func (m *DoRequest) Reset()

func (*DoRequest) String

func (m *DoRequest) String() string

Jump to

Keyboard shortcuts

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