app

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(ctx context.Context, cfg *config.Config) *App

func (*App) Locator

func (app *App) Locator() *locator.Locator

func (*App) Logger

func (app *App) Logger() *zerolog.Logger

func (*App) OnBeforeRun

func (app *App) OnBeforeRun(fn BeforeRun)

func (*App) RunScheduler

func (app *App) RunScheduler()

func (*App) RunServer

func (app *App) RunServer()

type BeforeRun

type BeforeRun func(ctx context.Context, app *App) error

Jump to

Keyboard shortcuts

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