controlpoints

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 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

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.TypedControlPointID]) *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