go_micro_api_greeter

package
v0.0.0-...-a649600 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package go_micro_api_greeter is a generated protocol buffer package.

It is generated from these files:

github.com/ship-os/ship-micro/examples/greeter/api/rpc/proto/hello/hello.proto

It has these top-level messages:

Request
Response

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGreeterHandler

func RegisterGreeterHandler(s server.Server, hdlr GreeterHandler, opts ...server.HandlerOption)

Types

type GreeterHandler

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

type GreeterService

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

func NewGreeterService

func NewGreeterService(serviceName string, c client.Client) GreeterService

Jump to

Keyboard shortcuts

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