lifecycle

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppLifecycleActived = make(chan interface{})
View Source
var AppLifecycleDestroy = make(chan interface{})
View Source
var AppLifecycleInit = make(chan *AppLifecycleInitModel)
View Source
var AppLifecyclePaused = make(chan interface{})
View Source
var AppLifecyclePrepared = make(chan interface{})
View Source
var AppLifecycleWorkBegin = make(chan interface{})

Functions

func AppActive

func AppActive(ctx *cli.Context)

func AppBaseActive

func AppBaseActive()

func AppBaseDestory

func AppBaseDestory()

func AppBaseInit

func AppBaseInit()

func AppBasePause

func AppBasePause()

func AppBasePrepared

func AppBasePrepared() bool

func AppDestroy

func AppDestroy(ctx *cli.Context)

func AppInit

func AppInit(model *AppLifecycleInitModel)

func AppPause

func AppPause(ctx *cli.Context)

func AppPrepare

func AppPrepare()

Types

type AppLifecycleInitModel

type AppLifecycleInitModel struct {
	Ctx      *cli.Context
	Finished chan bool
}

Jump to

Keyboard shortcuts

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