app

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MIT Imports: 4 Imported by: 4

Documentation

Overview

nolint:containedctx

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func New

func New() (*Application, error)

func (*Application) AddClosers

func (a *Application) AddClosers(closers ...CloserFunc)

func (*Application) AddRunners

func (a *Application) AddRunners(runners ...RunnerFunc)

func (*Application) Context

func (a *Application) Context() context.Context

func (*Application) GetLogger

func (a *Application) GetLogger() log.Logger

func (*Application) Run

func (a *Application) Run() error

func (*Application) Shutdown

func (a *Application) Shutdown()

type CloserFunc

type CloserFunc func(context.Context) error

type RunnerFunc

type RunnerFunc func(context.Context) error

Jump to

Keyboard shortcuts

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