Documentation ¶
Index ¶
- func Config(cli *cli.Context) gin.HandlerFunc
- func ConfigContext(c *gin.Context) (ctx *cli.Context)
- func Event(c *cli.Context, e *eventutil.Engine, replayed chan<- bool, ...) gin.HandlerFunc
- func Logging() gin.HandlerFunc
- func MQ(c *cli.Context, m *mqutil.Engine, deployed <-chan bool) gin.HandlerFunc
- func Metrics() gin.HandlerFunc
- func Store(cli *cli.Context) gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Config ¶
func Config(cli *cli.Context) gin.HandlerFunc
Config is a middleware function that initializes the config and attaches to the context of every request context.
func ConfigContext ¶
ConfigContext returns the CLI context associated with this context.
func Event ¶
func Event(c *cli.Context, e *eventutil.Engine, replayed chan<- bool, deployed <-chan bool) gin.HandlerFunc
Event is a middleware function that initializes the eventstore and attaches to the context of every request context.
func Logging ¶
func Logging() gin.HandlerFunc
Logging is a middleware function that logs the each request.
func MQ ¶
MQ is a middleware function that initializes the message queue and attaches to the context of every request context.
func Metrics ¶
func Metrics() gin.HandlerFunc
Metrics is a middleware function that initializes the metrics and attaches to the context of every request context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.