Help us shape the future of Go! Take the 2026 Go Developer Survey

foo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package foo is a generated protocol buffer package.

It is generated from these files:

test/foo/foo.proto

It has these top-level messages:

Request
Response

Package foo is a generated protocol buffer package.

It is generated from these files:

test/foo/foo.proto

It has these top-level messages:

Request
Response

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFooServer

func RegisterFooServer(s *yarpc.Server, srv FooServer)

Types

type FooClient

type FooClient interface {
	UnaryMethod(ctx context.Context, in *Request) (*Response, error)
	ServerStreamMethod(ctx context.Context, in *Request) (Foo_ServerStreamMethodClient, error)
}

func NewFooClient

func NewFooClient(cc *yarpc.ClientConn) FooClient

type FooServer

type FooServer interface {
	UnaryMethod(context.Context, *Request) (*Response, error)
	ServerStreamMethod(*Request, Foo_ServerStreamMethodServer) error
}

type Foo_ServerStreamMethodClient

type Foo_ServerStreamMethodClient interface {
	Recv() (*Response, error)
	yarpc.ClientStream
}

type Foo_ServerStreamMethodServer

type Foo_ServerStreamMethodServer interface {
	Send(*Response) error
	yarpc.ServerStream
}

type Request

type Request struct {
	In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetIn

func (m *Request) GetIn() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Response

type Response struct {
	Out string `protobuf:"bytes,1,opt,name=out,proto3" json:"out,omitempty"`
}

func (*Response) Descriptor

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

func (*Response) GetOut

func (m *Response) GetOut() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

Jump to

Keyboard shortcuts

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