templates

package
v1.0.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

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

Error ...

func (*CreateTemplateControllerImpl) Post

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

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 ...

func (*NewTemplateControllerImpl) Get

Get ...

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 ...

func (*ShowTemplateControllerImpl) Get

Get ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL