greeter

package
v0.0.0-...-ebb443a Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package greeter is a generated protocol buffer package.

It is generated from these files:

greeter.proto

It has these top-level messages:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGreeterHandler

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

Types

type GreeterHandler

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

type GreeterService

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

func NewGreeterService

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

Jump to

Keyboard shortcuts

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