handler

package
v1.2.803 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 15 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 {
	proto.UnimplementedListenerServer
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewServices

func NewServices(lo interfaces.Listener) *Services

func (*Services) AllowMethod

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

func (*Services) CurrentStatus added in v1.2.801

func (c *Services) CurrentStatus(ctx context.Context, req *proto.MonitorRequest) (res *proto.MonitorResponse, err error)

CurrentStatus implement services.Listener/CurrentStatus

func (*Services) GetServiceDesc

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

func (*Services) ListServices added in v1.2.801

func (c *Services) ListServices(ctx context.Context, req *emptypb.Empty) (res *proto.ServicesResponse, err error)

ListServices implement services.Listener/ListServices

func (*Services) Monitor

func (c *Services) Monitor(req *proto.MonitorRequest, serv proto.Listener_MonitorServer) (err error)

Monitor implement services.Listener/Monitor

Jump to

Keyboard shortcuts

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