controlpoints

package
v1.1.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Module provides preview handler and registers the service.

func Register

func Register(handler *Handler, server *grpc.Server) error

Register registers the handler on grpc.Server.

func ToProto added in v0.26.0

ToProto converts cache to proto message.

Types

type Handler

type Handler struct {
	flowcontrolpointsv1.UnimplementedFlowControlPointsServiceServer
	// contains filtered or unexported fields
}

Handler implements FlowControlPointsService.

func NewHandler

func NewHandler(serviceControlPointCache *cache.Cache[selectors.ControlPointID]) *Handler

NewHandler returns a new Handler.

func (*Handler) GetControlPoints

GetControlPoints returns all control points.

Jump to

Keyboard shortcuts

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