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