app

package
v0.0.0-...-226c3a4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(New)

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 GrpcServerOption

func GrpcServerOption(svr *grpc.Server) Option

func HttpServerOption

func HttpServerOption(svr *http.Server) Option

Jump to

Keyboard shortcuts

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