handler

package
v0.0.0-...-ccf22f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Assets = assets.NewFileSystem(map[string][]string{"/": []string{"web"}, "/web": []string{"taskiwi"}, "/web/taskiwi": []string{"build"}, "/web/taskiwi/build": []string{"index.html"}}, map[string]*assets.File{
	"/web/taskiwi/build/index.html": &assets.File{
		Path:     "/web/taskiwi/build/index.html",
		FileMode: 0x1a4,
		Mtime:    time.Unix(1597882042, 1597882042010515956),
		Data:     []byte(_Assetscb7349907d82bcf481ce406f47e8cd8f7651b4ef),
	}, "/": &assets.File{
		Path:     "/",
		FileMode: 0x800001ed,
		Mtime:    time.Unix(1597841769, 1597841769581831475),
		Data:     nil,
	}, "/web": &assets.File{
		Path:     "/web",
		FileMode: 0x800001ed,
		Mtime:    time.Unix(1594127137, 1594127137943435192),
		Data:     nil,
	}, "/web/taskiwi": &assets.File{
		Path:     "/web/taskiwi",
		FileMode: 0x800001ed,
		Mtime:    time.Unix(1596977548, 1596977548925435917),
		Data:     nil,
	}, "/web/taskiwi/build": &assets.File{
		Path:     "/web/taskiwi/build",
		FileMode: 0x800001ed,
		Mtime:    time.Unix(1597882042, 1597882042010380715),
		Data:     nil,
	}}, "")

Assets returns go-assets FileSystem

Functions

func AggregateClockDatasByTags

func AggregateClockDatasByTags(taskDatas []model.ClockData, tags []string) (model.WorkTimes, []model.ClockData, error)

func FirebaseAuthMiddleware

func FirebaseAuthMiddleware(next echo.HandlerFunc) echo.HandlerFunc

func GetTagsFromClockDatas

func GetTagsFromClockDatas(taskData []model.ClockData) []string

func InitRouting

func InitRouting(e *echo.Echo)

func QueryTasks

func QueryTasks(taskData []model.ClockData, tags []string, start string, end string) ([]model.ClockData, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL