controller

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Handler(c echo.Context) error
}

Controller is the interface used by all controller struct

func NewAllFlags

func NewAllFlags(goFF *ffclient.GoFeatureFlag, metrics metric.Metrics) Controller

func NewCollectEvalData added in v1.7.0

func NewCollectEvalData(goFF *ffclient.GoFeatureFlag, metrics metric.Metrics) Controller

NewCollectEvalData initialize the controller for the /data/collector endpoint

func NewFlagEval

func NewFlagEval(goFF *ffclient.GoFeatureFlag, metrics metric.Metrics) Controller

func NewHealth

func NewHealth(monitoring service.Monitoring) Controller

NewHealth is a constructor to create a new controller for the health method

func NewInfo

func NewInfo(monitoring service.Monitoring) Controller

func NewWsFlagChange added in v1.12.0

func NewWsFlagChange(websocketService service.WebsocketService, logger *zap.Logger) Controller

NewWsFlagChange is the constructor to create a new controller to handle websocket request to be notified about flag changes.

Jump to

Keyboard shortcuts

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