Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
HTTPHandler handles SSE event HTTP requests.
func NewHTTPHandler ¶
func NewHTTPHandler(taskStore *task.Store, repoStore *repo.Store) *HTTPHandler
NewHTTPHandler creates a new HTTPHandler.
func (*HTTPHandler) Events ¶
func (h *HTTPHandler) Events(c echo.Context) error
Events handles GET /events as a Server-Sent Events stream. Optionally filtered by ?repo_id=xxx.
func (*HTTPHandler) Register ¶
func (h *HTTPHandler) Register(g *echo.Group)
Register adds the endpoints to the provided Echo router group.
Click to show internal directories.
Click to hide internal directories.