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 greeter is a generated protocol buffer package.

It is generated from these files:

github.com/ship-os/ship-micro/examples/function/proto/greeter.proto

It has these top-level messages:

HelloRequest
HelloResponse

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, *HelloRequest, *HelloResponse) error
}

type GreeterService

type GreeterService interface {
	Hello(ctx context.Context, in *HelloRequest, opts ...client.CallOption) (*HelloResponse, 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