Documentation ¶
Index ¶
- Constants
- func EventCountHandler(c echo.Context, client *elastic.Client) error
- func EventsHandler(c echo.Context, client *elastic.Client) error
- func GetEventCountHandler(client *elastic.Client) func(c echo.Context) error
- func GetEventsHandler(client *elastic.Client) func(c echo.Context) error
- func GetMultiStreamEventsHandler(client *elastic.Client) func(c echo.Context) error
- func MultiStreamEventsHandler(c echo.Context, client *elastic.Client) error
- func StreamNameHTTPErr() *echo.HTTPError
Constants ¶
View Source
const ( Events = "events" EventsRootPath = obsidian.V1Root + Events + obsidian.UrlSep + ":" + pathParamNetworkID EventsPath = EventsRootPath + obsidian.UrlSep + ":" + pathParamStreamName EventsCountPath = EventsRootPath + obsidian.UrlSep + "about" + obsidian.UrlSep + "count" )
Variables ¶
This section is empty.
Functions ¶
func EventCountHandler ¶
func EventsHandler ¶
EventsHandler handles event querying using ES
func GetEventCountHandler ¶
func GetEventsHandler ¶
GetEventsHandler returns a Handler that uses the provided elastic client
func GetMultiStreamEventsHandler ¶
GetMultiStreamEventsHandler returns a handler for the multi-stream elastic event query endpoint.
func MultiStreamEventsHandler ¶
MultiStreamEventsHandler exposes more query options than EventsHandler, primarily the ability to query across multiple streams and tags. This handler will also accept an optional query size limit and offset for paginated queries.
func StreamNameHTTPErr ¶
StreamNameHTTPErr indicates that stream_name is missing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.