goapp

package module
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 10 Imported by: 3

README

goapp Build Status GoDoc License

The package is used to initialize an application to simply the creation. Support Go1.13+.

Install

$ go get -u github.com/xgfone/goapp

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init added in v0.7.0

func Init(appName string, opts ...gconf.Opt)

Init is used to initialize the application.

  1. Register the log options.
  2. Initialize configuration.
  3. Initialize the logging.
  4. Call the registered initialization functions.
  5. Start a goroutine to monitor the exit signals.

Types

This section is empty.

Directories

Path Synopsis
Package config is used to configure the application.
Package config is used to configure the application.
Package db provides some assistant functions about the database.
Package db provides some assistant functions about the database.
Package exec provides some convenient execution functions.
Package exec provides some convenient execution functions.
Package log is used to initialize the logging.
Package log is used to initialize the logging.
Package remote provides the command execution functions on the remote host.
Package remote provides the command execution functions on the remote host.

Jump to

Keyboard shortcuts

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