httpendpoint

package
v0.9.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Invoke(
		fx.Annotate(
			newProvider,
			fx.OnStart(func(ctx context.Context, p *provider) error { return p.Start(ctx) }),
			fx.OnStop(func(ctx context.Context, p *provider) error { return p.Stop(ctx) }),
		),
	),
)

Module is used on app bootstrap. nolint: gochecknoglobals

Functions

This section is empty.

Types

type RuleSetFetcher

type RuleSetFetcher interface {
	FetchRuleSet(ctx context.Context) (*config.RuleSet, error)
	ID() string
}

Jump to

Keyboard shortcuts

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