application

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppContextBase

type AppContextBase struct {
	Context context.Context
}

type AppRunner

type AppRunner interface {
	Start() (bool, error)
	Stop() (bool, error)
	Init() (bool, error)
	GetLogger() *logging.AppLogger
}

func CreateAppWithConfigs added in v0.1.4

func CreateAppWithConfigs(configFile string, dataFile string, secretKeyFile string) AppRunner

func CreateAppWithData added in v0.1.4

func CreateAppWithData(appConfig *config.AppConfig, serverData *data.ServerData, secretKey []byte) AppRunner

type Application added in v0.1.4

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

func (*Application) GetLogger added in v0.1.4

func (app *Application) GetLogger() *logging.AppLogger

func (*Application) Init added in v0.1.4

func (app *Application) Init() (bool, error)

func (*Application) Start added in v0.1.4

func (app *Application) Start() (bool, error)

func (*Application) Stop added in v0.1.4

func (app *Application) Stop() (bool, error)

Jump to

Keyboard shortcuts

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