app

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package app is the primary runtime service.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrShutdown = fmt.Errorf("application shutdown gracefully")
)

Common errors returned by this app.

Functions

func Run

func Run(c *viper.Viper) error

Run starts the primary application. It handles starting background services, populating package globals & structures, and clean up tasks.

func Stop

func Stop()

Stop is used to gracefully shutdown the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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