app

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 8 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(c *config.AppConfig, logger log.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