inertia: github.com/ubclaunchpad/inertia/daemon/inertiad/daemon Index | Files

package daemon

import "github.com/ubclaunchpad/inertia/daemon/inertiad/daemon"

Package daemon provides Inertiad's core server and API

Index

Package Files

daemon.go doc.go down.go env.go logs.go prune.go reset.go setup.go status.go token.go up.go webhook.go

type Server Uses

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

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

func New Uses

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

New instantiates a new Inertiad server

func (*Server) Close Uses

func (s *Server) Close()

Close releases server assets

func (*Server) Run Uses

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

Run starts the server

Package daemon imports 27 packages (graph) and is imported by 1 packages. Updated 2021-01-28. Refresh now. Tools for package owners.