Versions in this module Expand all Collapse all v1 v1.0.0 Aug 26, 2024 Changes in this version + func CreateAuthenticationMiddleware(userService *user.UserService) echo.MiddlewareFunc + func CreateRestApi(metricsService *DbMetricsService, journalService *JournalLogService, ...) + func ParseTime(timeString string, durationDifference int, timezone string) time.Time + type Api struct + func NewApi(metricsService *DbMetricsService, journalService *JournalLogService, ...) *Api + func (a *Api) AuthCallback(c echo.Context) error + func (a *Api) Authenticate(c echo.Context) error + func (a *Api) DeleteMetric(c echo.Context) error + func (a *Api) Logout(c echo.Context) error + func (a *Api) PostJournal(c echo.Context) error + func (a *Api) ShowDashboard(c echo.Context) error + func (a *Api) ShowJournal(c echo.Context) error + type DashboardData struct + Metrics []DashboardMetric + type DashboardMetric struct + Id string + Timestamp string + type JournalBody struct + Logs string + type Templates struct + func (t *Templates) Render(w io.Writer, name string, data interface{}, c echo.Context) error