app

package
v0.0.0-...-0ddd045 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package app provides the central entry point to read in the config, setup the server and start services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

App wraps all dependencies to start the server

func New

func New(configFilePath string) (*App, error)

New returns a new app

func (*App) Run

func (a *App) Run() error

Run runs the app, more specifically the turn server and router

func (*App) Stop

func (a *App) Stop(ctx context.Context) error

Stop gracefully stops the app

Jump to

Keyboard shortcuts

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