controlpoints

package
v2.34.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 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(in RegisterIn) 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.

type RegisterIn added in v2.16.0

type RegisterIn struct {
	fx.In
	Server  *grpc.Server `name:"default"`
	Handler *Handler
}

RegisterIn bundles and annotates parameters.

Jump to

Keyboard shortcuts

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