helloGeneric

package
v0.0.0-...-a85bd54 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package helloGeneric is a generated protocol buffer package.

It is generated from these files:

protobuf.proto

It has these top-level messages:

Request
Reply

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGenericDoServer

func RegisterGenericDoServer(s *grpc.Server, srv GenericDoServer)

Types

type GenericDoClient

type GenericDoClient interface {
	DoSomething(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Reply, error)
}

func NewGenericDoClient

func NewGenericDoClient(cc *grpc.ClientConn) GenericDoClient

type GenericDoServer

type GenericDoServer interface {
	DoSomething(context.Context, *Request) (*Reply, error)
}

type Reply

type Reply struct {
	Ret *google_protobuf.Value `protobuf:"bytes,1,opt,name=ret" json:"ret,omitempty"`
}

func (*Reply) Descriptor

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

func (*Reply) GetRet

func (m *Reply) GetRet() *google_protobuf.Value

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) Reset

func (m *Reply) Reset()

func (*Reply) String

func (m *Reply) String() string

type Request

type Request struct {
	Arg *google_protobuf.Value `protobuf:"bytes,1,opt,name=arg" json:"arg,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetArg

func (m *Request) GetArg() *google_protobuf.Value

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

Jump to

Keyboard shortcuts

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