frame

package module
v0.0.0-...-b804f52 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MulanPSL-2.0 Imports: 17 Imported by: 0

Documentation

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 (*Application) AfterStop

func (app *Application) AfterStop(fns ...func() error)

func (*Application) BeforeStop

func (app *Application) BeforeStop(fns ...func() error)

func (*Application) GracefulStop

func (app *Application) GracefulStop(ctx context.Context) (err error)

func (*Application) Job

func (app *Application) Job(runner job.Runner) error

Job ..

func (*Application) Name

func (app *Application) Name() string

func (*Application) Run

func (app *Application) Run() error

func (*Application) Schedule

func (app *Application) Schedule(w worker.Worker) error

func (*Application) Serve

func (app *Application) Serve(s server.Server) error

func (*Application) Startup

func (app *Application) Startup(fns ...func() error) error

func (*Application) Stop

func (app *Application) Stop() (err error)

func (*Application) Version

func (app *Application) Version() string

Jump to

Keyboard shortcuts

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