test_proto

package
v0.0.0-...-d710dc9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package test_proto is a generated protocol buffer package.

It is generated from these files:

grpc/test_proto/interceptors_test.proto

It has these top-level messages:

Time

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterChillerServer

func RegisterChillerServer(s *grpc.Server, srv ChillerServer)

Types

type ChillerClient

type ChillerClient interface {
	// Sleep for the given amount of time, and return the amount of time slept.
	Chill(ctx context.Context, in *Time, opts ...grpc.CallOption) (*Time, error)
}

func NewChillerClient

func NewChillerClient(cc *grpc.ClientConn) ChillerClient

type ChillerServer

type ChillerServer interface {
	// Sleep for the given amount of time, and return the amount of time slept.
	Chill(context.Context, *Time) (*Time, error)
}

type Time

type Time struct {
	Time             *int64 `protobuf:"varint,1,opt,name=time" json:"time,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*Time) Descriptor

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

func (*Time) GetTime

func (m *Time) GetTime() int64

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) Reset

func (m *Time) Reset()

func (*Time) String

func (m *Time) String() string

Jump to

Keyboard shortcuts

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