app

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(_ss ...S)

func CostTime

func CostTime() time.Duration

func Defer

func Defer(_fs ...F)

func Go

func Go() error

func Init added in v1.4.3

func Init(_is ...I)

func InitingTime added in v1.4.3

func InitingTime() time.Time

func OnceGo

func OnceGo() error

func RunningTime

func RunningTime() time.Time

func StartupTime

func StartupTime() time.Time

func Stop

func Stop()

Types

type F

type F func()

type I added in v1.4.3

type I func() error

type S

type S func(ctx context.Context) error

Jump to

Keyboard shortcuts

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