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 ¶
type EventSubscriptionAPI struct { Conf *configuration.Configuration EventBus *eb.EventBus }
func (*EventSubscriptionAPI) Callback ¶
func (sub *EventSubscriptionAPI) Callback(w http.ResponseWriter, r *http.Request)
type ServiceAPI ¶
type ServiceAPI struct { Config *conf.Configuration Zookeeper *zk.Conn }
func (*ServiceAPI) All ¶
func (d *ServiceAPI) All(w http.ResponseWriter, r *http.Request)
func (*ServiceAPI) Create ¶
func (d *ServiceAPI) Create(w http.ResponseWriter, r *http.Request)
func (*ServiceAPI) Delete ¶
func (d *ServiceAPI) Delete(params martini.Params, w http.ResponseWriter, r *http.Request)
func (*ServiceAPI) Put ¶
func (d *ServiceAPI) Put(params martini.Params, w http.ResponseWriter, r *http.Request)
type StateAPI ¶
type StateAPI struct { Config *configuration.Configuration Zookeeper *zk.Conn }
Click to show internal directories.
Click to hide internal directories.