server

package
v0.0.0-...-269c96b Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: GPL-3.0 Imports: 7 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 {
	// contains filtered or unexported fields
}

Server represents current server status

func New

func New(baseURL string) *Server

New creates a new Server with given URL

func (*Server) Serve

func (s *Server) Serve(port string)

Serve starts the actual serving job

func (*Server) SetupRoutes

func (s *Server) SetupRoutes(controller controller.Controller)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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