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
NewHTTPHandler returns a new HTTP request handler.
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.