app

package
Version: v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Start()
	Stop()
}

Server is the interface of a app service, which provides the options to start and stop the underlying http server.

func New

func New(hubAddress, appAddress, appAssetsDir string) (Server, error)

New return a new application server. It creates the underlying http server, with the defined address from the app.address flag. When you haven't build the React app via "yarn build" you can skip serving of the frontend, by passing an empty localtion for the app.assets flag.

Source Files

Jump to

Keyboard shortcuts

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