server

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrServerNotFound = errors.New("server not found")

Functions

func Discover added in v0.1.69

func Discover(cfgPath string, stage string) (string, error)

func NewRegistry added in v0.1.69

func NewRegistry() *registry

Types

type Server

type Server struct {
	Port int
	Mux  *http.ServeMux
}

func New

func New() (*Server, error)

func (*Server) Start

func (s *Server) Start(ctx context.Context, p *project.Project) error

Jump to

Keyboard shortcuts

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