Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpHandler ¶
type HttpHandler struct {
BaseURL string
}
HttpHandler identifies the type of a http handler
func NewHttpHandler ¶
func NewHttpHandler(baseUrl string) *HttpHandler
func (*HttpHandler) GetEvent ¶
func (ap *HttpHandler) GetEvent(eventID string, response *api.GetEventResponse) error
GetEvent retrieves a event from event ID.
func (*HttpHandler) SetEvent ¶
func (ap *HttpHandler) SetEvent(eventID string, event *api.SetEvent, response *api.SetEventResponse) error
SetEvent set a event.
Click to show internal directories.
Click to hide internal directories.