go-grpc: github.com/micro/go-grpc/examples/greeter/server/proto/hello Index | Files

package go_micro_srv_greeter

import "github.com/micro/go-grpc/examples/greeter/server/proto/hello"

Package go_micro_srv_greeter is a generated protocol buffer package.

It is generated from these files:

github.com/micro/go-grpc/examples/greeter/server/proto/hello/hello.proto

It has these top-level messages:

Request
Response

Package go_micro_srv_greeter is a generated protocol buffer package.

It is generated from these files:

github.com/micro/go-grpc/examples/greeter/server/proto/hello/hello.proto

It has these top-level messages:

Request
Response

Index

Package Files

hello.micro.go hello.pb.go

func RegisterSayHandler Uses

func RegisterSayHandler(s server.Server, hdlr SayHandler, opts ...server.HandlerOption)

func RegisterSayServer Uses

func RegisterSayServer(s *grpc.Server, srv SayServer)

type Request Uses

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

func (*Request) Descriptor Uses

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

func (*Request) GetName Uses

func (m *Request) GetName() string

func (*Request) ProtoMessage Uses

func (*Request) ProtoMessage()

func (*Request) Reset Uses

func (m *Request) Reset()

func (*Request) String Uses

func (m *Request) String() string

type Response Uses

type Response struct {
    Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
}

func (*Response) Descriptor Uses

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

func (*Response) GetMsg Uses

func (m *Response) GetMsg() string

func (*Response) ProtoMessage Uses

func (*Response) ProtoMessage()

func (*Response) Reset Uses

func (m *Response) Reset()

func (*Response) String Uses

func (m *Response) String() string

type SayClient Uses

type SayClient interface {
    Hello(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}

func NewSayClient Uses

func NewSayClient(cc *grpc.ClientConn) SayClient

type SayHandler Uses

type SayHandler interface {
    Hello(context.Context, *Request, *Response) error
}

type SayServer Uses

type SayServer interface {
    Hello(context.Context, *Request) (*Response, error)
}

type SayService Uses

type SayService interface {
    Hello(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
}

func NewSayService Uses

func NewSayService(serviceName string, c client.Client) SayService

Package go_micro_srv_greeter imports 8 packages (graph) and is imported by 2 packages. Updated 2019-09-19. Refresh now. Tools for package owners.