lifecycle

package
v0.0.0-...-9835270 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: AGPL-3.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterShutdown

func AfterShutdown(name string, cb Callback) error

func AfterStartup

func AfterStartup(name string, cb Callback) error

func BeforeShutdown

func BeforeShutdown(name string, cb Callback) error

func BeforeStartup

func BeforeStartup(name string, cb Callback) error

func RunAfterShutdown

func RunAfterShutdown() error

func RunAfterStartup

func RunAfterStartup() error

func RunBeforeShutdown

func RunBeforeShutdown() error

func RunBeforeStartup

func RunBeforeStartup() error

Types

type Callback

type Callback func() error

Jump to

Keyboard shortcuts

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