app

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application added in v1.3.1

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

Application declare application's information

func New added in v1.3.1

func New(name string, logger *zap.Logger, options ...Option) (*Application, error)

New serve caller to new Application

func (*Application) AwaitSignal added in v1.3.1

func (a *Application) AwaitSignal()

AwaitSignal serve caller to await server running

func (*Application) Start added in v1.3.1

func (a *Application) Start() error

Start serve caller to start an application

type Option added in v1.3.1

type Option func(app *Application) error

Option declare application options

func HTTPServerOption added in v1.3.1

func HTTPServerOption(svr *http.Server) Option

HTTPServerOption declare http server option

Jump to

Keyboard shortcuts

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