app

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAppContext added in v0.3.0

func CreateAppContext(ctx context.Context) context.Context

func CreateServeCmd added in v0.2.0

func CreateServeCmd(handler func(cmd *cobra.Command, args []string)) *cobra.Command

CreateServeCmd create serve command

func Loop

func Loop(ctx context.Context)

Loop is application loop, exit on SIGTERM

func Shutdown

func Shutdown(ctx context.Context) error

Shutdown all domains and providers

func Start

func Start(ctx context.Context) error

Start all providers and domains

func StartStatistics

func StartStatistics(ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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