go_micro_srv_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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSayHandler

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

Types

type SayHandler

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

type SayService

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

func NewSayService

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

Jump to

Keyboard shortcuts

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