Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTemplate ¶
ParseTemplate for mvc.
Types ¶
type Controller ¶
type Controller[Model any] func(ctx context.Context, req *http.Request, res http.ResponseWriter) (*Model, error)
Controller for mvc.
type View ¶
type View struct {
// contains filtered or unexported fields
}
View used for routes.
func (*View) ExecuteFailure ¶
ExecuteFailure for template.
Click to show internal directories.
Click to hide internal directories.