daemon

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 27 Imported by: 1

Documentation

Overview

Package daemon provides Inertiad's core server and API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the core component of Inertiad, and hosts its API and deployment manager

func New

func New(version string, state cfg.Config, deployment project.Deployer) (*Server, error)

New instantiates a new Inertiad server

func (*Server) Close

func (s *Server) Close()

Close releases server assets

func (*Server) Run

func (s *Server) Run(host, port string) error

Run starts the server

Jump to

Keyboard shortcuts

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