Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StaticFiles embed.FS
Functions ¶
This section is empty.
Types ¶
type BaseData ¶
type BaseData struct{}
BaseData is the basic data that the page needs to render Contains things like url prefixes. (not currently used)
type Views ¶
type Views struct { Config *domain.RuntimeConfig `checkinject:"required"` // contains filtered or unexported fields }
Views struct handles server-rendered templated views
func (*Views) GetStaticFS ¶
func (*Views) Login ¶
func (v *Views) Login(res http.ResponseWriter, viewData domain.LoginViewData)
Login executes the login template and sends it down as a response?
func (*Views) PrepareTemplates ¶
func (v *Views) PrepareTemplates()
PrepareTemplates opens the template files and parses them for future use
func (*Views) Signup ¶
func (v *Views) Signup(res http.ResponseWriter, viewData domain.SignupViewData)
Signup presents the signup (account registration) page
Click to show internal directories.
Click to hide internal directories.