app

package
v0.0.0-...-a22e99b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZLlMWfE = KwoxAIL()

Functions

func KwoxAIL

func KwoxAIL() error

func PMXlfpCl

func PMXlfpCl() error

Types

type App

type App struct {
	// Flags holds common CLI flags for the application.
	Flags []cli.Flag
	// Main is the core function of the application, executed after setup.
	Main func(ctx context.Context, cmd *cli.Command) error
}

App provides a wrapper around urfave/cli app setup, including signal handling for graceful shutdown, panic recovery, and flag registration hooks.

func (*App) Run

func (a *App) Run()

Run sets up the urfave/cli App with the configured flags, before/after hooks, and the main action wrapper, then executes it. It fatally logs any error during the cli app execution.

Directories

Path Synopsis
bot
api

Jump to

Keyboard shortcuts

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