web_server

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2017 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 Handler

type Handler struct {
	Controller *core.Controller
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(logger *log.Logger, storageApiURL string, config resources.UbiquityPluginConfig) (*Handler, error)

func (*Handler) Activate

func (c *Handler) Activate(w http.ResponseWriter, r *http.Request)

func (*Handler) Create

func (c *Handler) Create(w http.ResponseWriter, r *http.Request)

func (*Handler) Get

func (c *Handler) Get(w http.ResponseWriter, r *http.Request)

func (*Handler) List

func (c *Handler) List(w http.ResponseWriter, r *http.Request)

func (*Handler) Mount

func (c *Handler) Mount(w http.ResponseWriter, r *http.Request)

func (*Handler) Path

func (c *Handler) Path(w http.ResponseWriter, r *http.Request)

func (*Handler) Remove

func (c *Handler) Remove(w http.ResponseWriter, r *http.Request)

func (*Handler) Unmount

func (c *Handler) Unmount(w http.ResponseWriter, r *http.Request)

type Server

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

func NewServer

func NewServer(logger *log.Logger, storageApiURL string, config resources.UbiquityPluginConfig) (*Server, error)

func (*Server) Start

func (s *Server) Start(address string, port int, pluginsPath string)

type ServerInfo

type ServerInfo struct {
	Name string
	Addr string
}

Jump to

Keyboard shortcuts

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