app

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(fileconfig string) *App

func (*App) ConfigModels added in v1.6.0

func (app *App) ConfigModels(configs ...interface{}) *App

func (*App) Modules added in v1.6.0

func (app *App) Modules(modules ...interface{}) *App

func (*App) PidFile

func (app *App) PidFile(pid string) *App

func (*App) Run

func (app *App) Run()

type ForceClose

type ForceClose struct {
	C     context.Context
	Close context.CancelFunc
}

func NewForceClose

func NewForceClose() *ForceClose

type Interfaces

type Interfaces struct {
	// contains filtered or unexported fields
}

func NewInterfaces

func NewInterfaces() *Interfaces

func (*Interfaces) Add

func (m *Interfaces) Add(a ...interface{}) *Interfaces

func (*Interfaces) Get

func (m *Interfaces) Get() []interface{}

Jump to

Keyboard shortcuts

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