app

package
Version: v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 15 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 interfaces.Storage
	P2p     *p2p.P2p
	Server  *service.Server
	Logger  interfaces.Logger

	WebsocketService interfaces.WebsocketService
	// 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

Source Files

Jump to

Keyboard shortcuts

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