app

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func New

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

func (*Application) AwaitSignal

func (a *Application) AwaitSignal()

func (*Application) Start

func (a *Application) Start() error

type Option

type Option func(app *Application) error

func HTTPServerOption

func HTTPServerOption(svr *http.Server) Option

func RPCServerOption

func RPCServerOption(svr *rpc.Server) Option

Jump to

Keyboard shortcuts

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