Versions in this module Expand all Collapse all v0 v0.3.0 May 30, 2017 Changes in this version + const APIVersion + const ASC + const AggrAPILoc + const BOOL + const DESC + const DataAPILoc + const DefaultMIMEType + const FLOAT + const IDSeparator + const ParamEnd + const ParamLimit + const ParamPage + const ParamPerPage + const ParamSort + const ParamStart + const RegistryAPILoc + const STRING + func ErrorResponse(code int, msg string, w http.ResponseWriter) + func ParsePagingParams(page, perPage string, maxPerPage int) (int, int, error) + func PerItemPagination(_qLimit, _page, _perPage, _numOfSrcs int) ([]int, []int) + func StartNotifier(in *chan Notification, out ...chan<- Notification) + func Subscribers() int + func SupportedAggregate(a string) bool + func SupportedInterval(i string) bool + func SupportedType(t string) bool + func ValidatePagingParams(page, perPage, maxPerPage int) error + func ValidatePerItemLimit(_qLimit, _perPage, _numOfSrcs int) error + type Error struct + Code int + Message string + type Notification struct + Callback chan error + Payload interface{} + Type NotificationType + type NotificationType uint8 + const CREATE + const DELETE + const UPDATE