{"modulePath":"github.com/micro/examples","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package greeter\n\nPackage greeter is a generated protocol buffer package.\n\nIt is generated from these files:\n\n\tgithub.com/micro/examples/function/proto/greeter.proto\n\nIt has these top-level messages:\n\n\tHelloRequest\n\tHelloResponse\n\nPackage greeter is a generated protocol buffer package.\n\nIt is generated from these files:\n\n\tgithub.com/micro/examples/function/proto/greeter.proto\n\nIt has these top-level messages:\n\n\tHelloRequest\n\tHelloResponse\n\n## Functions\n\n```go\nfunc RegisterGreeterHandler(s server.Server, hdlr GreeterHandler, opts ...server.HandlerOption)\n```\n\n```go\nfunc RegisterGreeterServer(s *grpc.Server, srv GreeterServer)\n```\n\n## Types\n\n```go\ntype GreeterClient interface {\n\tHello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloResponse, error)\n}\n```\n\n```go\nfunc NewGreeterClient(cc *grpc.ClientConn) GreeterClient\n```\n\n```go\ntype GreeterHandler interface {\n\tHello(context.Context, *HelloRequest, *HelloResponse) error\n}\n```\n\n```go\ntype GreeterServer interface {\n\tHello(context.Context, *HelloRequest) (*HelloResponse, error)\n}\n```\n\n```go\ntype GreeterService interface {\n\tHello(ctx context.Context, in *HelloRequest, opts ...client.CallOption) (*HelloResponse, error)\n}\n```\n\n```go\nfunc NewGreeterService(serviceName string, c client.Client) GreeterService\n```\n\n```go\ntype HelloRequest struct {\n\tName string `protobuf:\"bytes,1,opt,name=name\" json:\"name,omitempty\"`\n}\n```\n\n```go\nfunc (*HelloRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *HelloRequest) GetName() string\n```\n\n```go\nfunc (*HelloRequest) ProtoMessage()\n```\n\n```go\nfunc (m *HelloRequest) Reset()\n```\n\n```go\nfunc (m *HelloRequest) String() string\n```\n\n```go\ntype HelloResponse struct {\n\tGreeting string `protobuf:\"bytes,2,opt,name=greeting\" json:\"greeting,omitempty\"`\n}\n```\n\n```go\nfunc (*HelloResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *HelloResponse) GetGreeting() string\n```\n\n```go\nfunc (*HelloResponse) ProtoMessage()\n```\n\n```go\nfunc (m *HelloResponse) Reset()\n```\n\n```go\nfunc (m *HelloResponse) String() string\n```\n\n","path":"github.com/micro/examples/function/proto","name":"greeter","synopsis":"Package greeter is a generated protocol buffer package.","isRedistributable":true}
