business

package
v0.0.0-...-9b981ae Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	// contains filtered or unexported fields
}

Context business context

func NewContext

func NewContext(cfg *config.Config, metricsCtx metrics.Instance) (*Context, error)

NewContext Will generate a new business context

func (*Context) ManageHook

func (ctx *Context) ManageHook(promAlertHook *prometheushook.PrometheusAlertHook) error

ManageHook Manage Prometheus hook

Jump to

Keyboard shortcuts

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