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 DeleteTemplateControllerImpl ¶ added in v1.0.41
type DeleteTemplateControllerImpl struct { ID uuid.UUID `param:"id"` htmx.DefaultController // contains filtered or unexported fields }
DeleteTemplateControllerImpl ...
func NewDeleteTemplateController ¶ added in v1.0.41
func NewDeleteTemplateController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *DeleteTemplateControllerImpl
NewDeleteTemplateController ...
func (*DeleteTemplateControllerImpl) Delete ¶ added in v1.0.41
func (l *DeleteTemplateControllerImpl) Delete() error
Post ...
func (*DeleteTemplateControllerImpl) Error ¶ added in v1.0.41
func (l *DeleteTemplateControllerImpl) Error(err error) error
Error ...
func (*DeleteTemplateControllerImpl) Prepare ¶ added in v1.0.41
func (l *DeleteTemplateControllerImpl) Prepare() error
Prepare ...
type EditBodyControllerImpl ¶ added in v1.0.41
type EditBodyControllerImpl struct { // Template ... Template models.Template htmx.DefaultController // contains filtered or unexported fields }
EditBodyControllerImpl ...
func NewEditBodyController ¶ added in v1.0.41
func NewEditBodyController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *EditBodyControllerImpl
NewEditBodyController ...
func (*EditBodyControllerImpl) Error ¶ added in v1.0.41
func (l *EditBodyControllerImpl) Error(err error) error
Error ...
func (*EditBodyControllerImpl) Get ¶ added in v1.0.41
func (l *EditBodyControllerImpl) Get() error
Get ...
func (*EditBodyControllerImpl) Prepare ¶ added in v1.0.41
func (l *EditBodyControllerImpl) Prepare() error
Prepare ...
func (*EditBodyControllerImpl) Put ¶ added in v1.0.41
func (l *EditBodyControllerImpl) Put() error
Put ...
type EditTitleControllerImpl ¶ added in v1.0.41
type EditTitleControllerImpl struct { Template models.Template htmx.DefaultController // contains filtered or unexported fields }
EditTitleControllerImpl ...
func NewEditTitleController ¶ added in v1.0.41
func NewEditTitleController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *EditTitleControllerImpl
NewEditTitleController ...
func (*EditTitleControllerImpl) Get ¶ added in v1.0.41
func (l *EditTitleControllerImpl) Get() error
Get ...
func (*EditTitleControllerImpl) Prepare ¶ added in v1.0.41
func (l *EditTitleControllerImpl) Prepare() error
Prepare ...
func (*EditTitleControllerImpl) Put ¶ added in v1.0.41
func (l *EditTitleControllerImpl) Put() error
Put ...
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.