Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTemplateBody ¶
type CreateTemplateBody struct { Name string `json:"name" form:"name" validate:"required,min=3,max=255"` Description string `json:"description" form:"description" validate:"required,min=3,max=2048"` Body string `json:"body" form:"body" validate:"required"` }
CreateTemplateBody ...
type CreateTemplateControllerImpl ¶
type CreateTemplateControllerImpl struct { htmx.DefaultController // contains filtered or unexported fields }
CreateTemplateControllerImpl ...
func NewCreateTemplateController ¶
func NewCreateTemplateController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *CreateTemplateControllerImpl
NewCreateTemplateController ...
func (*CreateTemplateControllerImpl) Error ¶
func (l *CreateTemplateControllerImpl) Error(err error) error
Error ...
func (*CreateTemplateControllerImpl) Post ¶
func (l *CreateTemplateControllerImpl) Post() error
Post ...
func (*CreateTemplateControllerImpl) Prepare ¶
func (l *CreateTemplateControllerImpl) Prepare() error
Prepare ...
type ListTemplatesControllerImpl ¶
type ListTemplatesControllerImpl struct { htmx.DefaultController // contains filtered or unexported fields }
ListTemplatesControllerImpl ...
func NewListTemplatesController ¶
func NewListTemplatesController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *ListTemplatesControllerImpl
NewListTemplatesController ...
func (*ListTemplatesControllerImpl) Get ¶
func (l *ListTemplatesControllerImpl) Get() error
Prepare ...
type NewTemplateControllerImpl ¶
type NewTemplateControllerImpl struct { htmx.DefaultController // contains filtered or unexported fields }
NewTemplateControllerImpl ...
func NewTemplateController ¶
func NewTemplateController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *NewTemplateControllerImpl
NewTemplateController ...
type ShowTemplateControllerImpl ¶
type ShowTemplateControllerImpl struct { htmx.DefaultController // contains filtered or unexported fields }
ShowTemplateControllerImpl ...
func NewShowTemplateController ¶
func NewShowTemplateController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *ShowTemplateControllerImpl
NewShowTemplateController ...
Click to show internal directories.
Click to hide internal directories.