Documentation ¶
Index ¶
- func HandleStatus(w http.ResponseWriter, r *http.Request)
- type EventSubscriptionAPI
- type ServiceAPI
- func (d *ServiceAPI) All(w http.ResponseWriter, r *http.Request)
- func (d *ServiceAPI) Create(w http.ResponseWriter, r *http.Request)
- func (d *ServiceAPI) Delete(params martini.Params, w http.ResponseWriter, r *http.Request)
- func (d *ServiceAPI) Put(params martini.Params, w http.ResponseWriter, r *http.Request)
- type StateAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 }
Click to show internal directories.
Click to hide internal directories.