api

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2015 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleStatus

func HandleStatus(w http.ResponseWriter, r *http.Request)

Status Handler

Types

type EventSubscriptionAPI added in v0.2.0

type EventSubscriptionAPI struct {
	Conf     *configuration.Configuration
	EventBus *eb.EventBus
}

func (*EventSubscriptionAPI) Callback added in v0.2.0

func (sub *EventSubscriptionAPI) Callback(w http.ResponseWriter, r *http.Request)

type ServiceAPI added in v0.2.0

type ServiceAPI struct {
	Config    *conf.Configuration
	Zookeeper *zk.Conn
}

func (*ServiceAPI) All added in v0.2.0

func (d *ServiceAPI) All(w http.ResponseWriter, r *http.Request)

func (*ServiceAPI) Create added in v0.2.0

func (d *ServiceAPI) Create(w http.ResponseWriter, r *http.Request)

func (*ServiceAPI) Delete added in v0.2.0

func (d *ServiceAPI) Delete(c web.C, w http.ResponseWriter, r *http.Request)

func (*ServiceAPI) Put added in v0.2.0

func (d *ServiceAPI) Put(c web.C, w http.ResponseWriter, r *http.Request)

type StateAPI added in v0.2.0

type StateAPI struct {
	Config    *configuration.Configuration
	Zookeeper *zk.Conn
}

func (*StateAPI) Get added in v0.2.0

func (state *StateAPI) Get(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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