handle

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewService

func NewService(handle *Handle) (micro.Service, error)

Types

type Handle

type Handle struct {
	micro.Service
	// contains filtered or unexported fields
}

func NewHandle

func NewHandle(model *model.Model) *Handle

func (*Handle) Goodbye

func (h *Handle) Goodbye(ctx context.Context, req *api.GoodbyeReq, rsp *api.GoodbyeRsp) error

func (*Handle) Greeting

func (h *Handle) Greeting(ctx context.Context, req *api.GreetingReq, rsp *api.GreetingRsp) error

Jump to

Keyboard shortcuts

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