handler

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Services

type Services struct {
	global.UnimplementedRouterServer
	listener.UnimplementedListenerServer
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewServices

func NewServices(lo interfaces.Listener,
	onPushMessage interfaces.OnPushMessage) *Services

func (*Services) AllowMethod

func (c *Services) AllowMethod(method string) (m []interfaces.Method)

func (*Services) Forward

func (c *Services) Forward(serv global.Router_ForwardServer) error

implement global.Router/Forward

func (*Services) GetServiceDesc

func (c *Services) GetServiceDesc() []*grpc.ServiceDesc

func (*Services) Monitor

implement listener.Listener/Monitor

func (*Services) Services

func (c *Services) Services(ctx context.Context, req *global.NoParameter) (res *listener.ServicesResponse, err error)

implement listener.Listener/Services

Jump to

Keyboard shortcuts

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