handlers

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDump added in v0.3.4

func CacheDump(db *bolt.DB) echo.HandlerFunc

func DeletePunch

func DeletePunch(ectx echo.Context) error

DeletePunch deletes an added punch

func DeleteWorkOrderEntry

func DeleteWorkOrderEntry(c echo.Context) error

DeleteWorkOrderEntry deletes a work order entry

func FixPunch

func FixPunch(c echo.Context) error

FixPunch adds an in or out punch as determined by the body sent

func GetLoginUserHandler

func GetLoginUserHandler(db *bolt.DB) echo.HandlerFunc

LogInUser will authenticate a user, upgrade to websocket, and return the timesheet and offline mode to the web socket

func GetPunchHandler

func GetPunchHandler(db *bolt.DB) echo.HandlerFunc

Punch adds an in or out punch as determined by the body sent

func GetSickAndVacationForJobAndDate

func GetSickAndVacationForJobAndDate(c echo.Context) error

GetSickAndVacationForJobAndDate handles ensuring that we have the sick and vacation for a day

func LunchPunch

func LunchPunch(c echo.Context) error

LunchPunch adds a lunch punch

func OtherHours

func OtherHours(c echo.Context) error

OtherHours adds entry to sick time

func SendEventHandler added in v0.3.5

func SendEventHandler(c echo.Context) error

SendEventHandler passes an event to the messenger

func UpsertWorkOrderEntry

func UpsertWorkOrderEntry(ectx echo.Context) error

UpsertWorkOrderEntry .

Types

This section is empty.

Jump to

Keyboard shortcuts

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