Documentation ¶
Overview ¶
Package home defines a web controller for the home page of the verification server. This view allows users to issue OTP codes and tie them to a diagnosis and test date.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, config *config.ServerConfig, db *database.Database, h *render.Renderer) *Controller
New creates a new controller for the home page.
func (*Controller) HandleHome ¶
func (c *Controller) HandleHome() http.Handler
Click to show internal directories.
Click to hide internal directories.