api

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2015 License: Apache-2.0 Imports: 12 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(params martini.Params, w http.ResponseWriter, r *http.Request)

func (*ServiceAPI) Put added in v0.2.0

func (d *ServiceAPI) Put(params martini.Params, 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