web_server

package
v0.0.0-...-f131573 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	X_BROKER_API_VERSION_NAME = "X-Broker-Api-Version"
	X_BROKER_API_VERSION      = "2.5"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(instanceMap map[string]*model.ServiceInstance, bindingMap map[string]*model.ServiceBinding) *Controller

func (*Controller) Bind

func (c *Controller) Bind(w http.ResponseWriter, r *http.Request)

func (*Controller) Catalog

func (c *Controller) Catalog(w http.ResponseWriter, r *http.Request)

func (*Controller) CreateServiceInstance

func (c *Controller) CreateServiceInstance(w http.ResponseWriter, r *http.Request)

func (*Controller) GetServiceInstance

func (c *Controller) GetServiceInstance(w http.ResponseWriter, r *http.Request)

func (*Controller) RemoveServiceInstance

func (c *Controller) RemoveServiceInstance(w http.ResponseWriter, r *http.Request)

func (*Controller) UnBind

func (c *Controller) UnBind(w http.ResponseWriter, r *http.Request)

type Server

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

func NewServer

func NewServer() *Server

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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