app

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Storage *db.Storage
	P2p     *p2p.P2p
	Server  *service.Server
	Logger  interfaces.Logger
	// contains filtered or unexported fields
}

App ties Sprawl's services together

func (*App) InitServices

func (app *App) InitServices(config interfaces.Config, Logger interfaces.Logger)

InitServices ties the services together before running

func (*App) Run

func (app *App) Run()

Run is a separated main-function to ease testing

Jump to

Keyboard shortcuts

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