server

package
v0.0.0-...-1132805 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	HTTPServer *api.HTTPServer
	// contains filtered or unexported fields
}

Server is responsible for managing the lifecycle of services.

func Initialize

func Initialize() (*Server, error)

func New

func New(httpServer *api.HTTPServer) (*Server, error)

New returns a new instance of Server.

func (*Server) ExitCode

func (s *Server) ExitCode(runError error) int

ExitCode returns an exit code for a given error.

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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