Documentation
¶
Index ¶
- Constants
- Variables
- func Healthz(w http.ResponseWriter, r *http.Request)
- type OvertimeInput
- type Server
- func (s Server) Login() http.Handler
- func (s Server) LoginForm() http.Handler
- func (s Server) Logout() http.Handler
- func (s Server) OvertimeReport() http.Handler
- func (s Server) RedirectReport() http.Handler
- func (s Server) RequestReportForm() http.Handler
- func (s Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const (
CookieSID = "ftb_sid"
)
Variables ¶
View Source
var RootDir = ""
RootDir optionally describes where the root directory with the "templates" / and "public" folders is. This is mainly used in tests where the context dir is different.
Functions ¶
Types ¶
type OvertimeInput ¶ added in v0.4.0
func (*OvertimeInput) FromForm ¶ added in v0.4.0
func (i *OvertimeInput) FromForm(r *http.Request)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (Server) OvertimeReport ¶
OvertimeReport GET /report
func (Server) RedirectReport ¶ added in v0.5.0
func (Server) RequestReportForm ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.