server

package
v0.0.0-...-bbf37f2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 14 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 {
	InstanceName        string
	InstanceDescription string
	Backend             backend.Backend
	Timeout             time.Duration
	IPStack             util.IPStack
	Address             string
	Port                int
	Log                 commonlog.Logger
	Debug               bool
	// contains filtered or unexported fields
}

func NewServer

func NewServer(backend backend.Backend, timeout time.Duration, ipStack util.IPStack, address string, port int, log commonlog.Logger, debug bool) (*Server, error)

func (*Server) About

func (self *Server) About(writer http.ResponseWriter, request *http.Request)

func (*Server) GetDeployment

func (self *Server) GetDeployment(writer http.ResponseWriter, request *http.Request)

func (*Server) GetSite

func (self *Server) GetSite(writer http.ResponseWriter, request *http.Request)

func (*Server) GetTemplate

func (self *Server) GetTemplate(writer http.ResponseWriter, request *http.Request)

func (*Server) ListDeployments

func (self *Server) ListDeployments(writer http.ResponseWriter, request *http.Request)

func (*Server) ListPlugins

func (self *Server) ListPlugins(writer http.ResponseWriter, request *http.Request)

func (*Server) ListSites

func (self *Server) ListSites(writer http.ResponseWriter, request *http.Request)

func (*Server) ListTemplates

func (self *Server) ListTemplates(writer http.ResponseWriter, request *http.Request)

func (*Server) Start

func (self *Server) Start() error

func (*Server) Stop

func (self *Server) Stop()

Jump to

Keyboard shortcuts

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