browser

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("browser",
	fx.Provide(
		fx.Private,
		func(cfg config.Config) browser.HandlerOpts {
			return browser.HandlerOpts{
				Liveness: cfg.BrowserServerLiveness,
			}
		},
	),
	fx.Provide(
		fx.Private,
		browser.NewHandler,
	),
	fx.Provide(NewBrowser),
)

Functions

This section is empty.

Types

type Browser

type Browser struct{}

func NewBrowser

func NewBrowser(
	lc fx.Lifecycle,
	shutdowner fx.Shutdowner,
	handler browser.Handler,
	cfg config.Config,
	logger *zerolog.Logger,
) (*Browser, error)

Jump to

Keyboard shortcuts

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