Documentation
¶
Index ¶
- func BuildRouter(c *services.Container) error
- func Register(h Handler)
- type AITask
- type Auth
- func (h *Auth) ForgotPasswordPage(ctx echo.Context) error
- func (h *Auth) ForgotPasswordSubmit(ctx echo.Context) error
- func (h *Auth) Init(c *services.Container) error
- func (h *Auth) LoginPage(ctx echo.Context) error
- func (h *Auth) LoginSubmit(ctx echo.Context) error
- func (h *Auth) Logout(ctx echo.Context) error
- func (h *Auth) RegisterPage(ctx echo.Context) error
- func (h *Auth) RegisterSubmit(ctx echo.Context) error
- func (h *Auth) ResetPasswordPage(ctx echo.Context) error
- func (h *Auth) ResetPasswordSubmit(ctx echo.Context) error
- func (h *Auth) Routes(g *echo.Group)
- func (h *Auth) VerifyEmail(ctx echo.Context) error
- type Cache
- type ClickToEdit
- type Contact
- type Dashboard
- type DashboardData
- type Error
- type Handler
- type Health
- type ModelModelName
- func (h *ModelModelName) Edit(ctx echo.Context) error
- func (h *ModelModelName) List(ctx echo.Context) error
- func (h *ModelModelName) ModelName(ctx echo.Context) error
- func (h *ModelModelName) New(ctx echo.Context) error
- func (h *ModelModelName) Routes() RouteMapMeta
- func (h *ModelModelName) SubmitDelete(ctx echo.Context) error
- func (h *ModelModelName) SubmitEdit(ctx echo.Context) error
- func (h *ModelModelName) SubmitNew(ctx echo.Context) error
- type ModelModelNameData
- type ModelModelNameEditParams
- type ModelModelNameForm
- type ModelModelNameListData
- type ModelPrice
- func (h *ModelPrice) Edit(ctx echo.Context) error
- func (h *ModelPrice) List(ctx echo.Context) error
- func (h *ModelPrice) New(ctx echo.Context) error
- func (h *ModelPrice) Price(ctx echo.Context) error
- func (h *ModelPrice) Routes() RouteMapMeta
- func (h *ModelPrice) SubmitDelete(ctx echo.Context) error
- func (h *ModelPrice) SubmitEdit(ctx echo.Context) error
- func (h *ModelPrice) SubmitNew(ctx echo.Context) error
- type ModelPriceData
- type ModelPriceEditParams
- type ModelPriceForm
- type ModelPriceListData
- type ModelProduct
- func (h *ModelProduct) Edit(ctx echo.Context) error
- func (h *ModelProduct) List(ctx echo.Context) error
- func (h *ModelProduct) New(ctx echo.Context) error
- func (h *ModelProduct) Product(ctx echo.Context) error
- func (h *ModelProduct) Routes() RouteMapMeta
- func (h *ModelProduct) SubmitDelete(ctx echo.Context) error
- func (h *ModelProduct) SubmitEdit(ctx echo.Context) error
- func (h *ModelProduct) SubmitNew(ctx echo.Context) error
- type ModelProductData
- type ModelProductEditParams
- type ModelProductForm
- type ModelProductListData
- type Pages
- type RouteMap
- type RouteMapMeta
- type Search
- type Stripe
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AITask ¶
type AITask struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
type Auth ¶
type Auth struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
type Cache ¶
type Cache struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
type ClickToEdit ¶
type ClickToEdit struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
func (*ClickToEdit) EditablePage ¶
func (h *ClickToEdit) EditablePage(ctx echo.Context) error
func (*ClickToEdit) Routes ¶
func (h *ClickToEdit) Routes(g *echo.Group)
type Contact ¶
type Contact struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
type Dashboard ¶
type Dashboard struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
type DashboardData ¶
type DashboardData struct {
RouteMapMetas []RouteMapMeta
}
type Error ¶
type Error struct {
*services.TemplateRenderer
}
type Handler ¶
type Handler interface {
// Routes allows for self-registration of HTTP routes on the router
Routes(g *echo.Group)
// Init provides the service container to initialize
Init(*services.Container) error
}
Handler handles one or more HTTP routes
type Health ¶
type Health struct {
*services.TemplateRenderer
}
type ModelModelName ¶
type ModelModelName struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
func NewModelModelName ¶
func NewModelModelName(c *services.Container) *ModelModelName
func (*ModelModelName) Routes ¶
func (h *ModelModelName) Routes() RouteMapMeta
func (*ModelModelName) SubmitDelete ¶
func (h *ModelModelName) SubmitDelete(ctx echo.Context) error
func (*ModelModelName) SubmitEdit ¶
func (h *ModelModelName) SubmitEdit(ctx echo.Context) error
type ModelModelNameData ¶
type ModelModelNameEditParams ¶
type ModelModelNameEditParams struct {
ID int `param:"id"`
}
type ModelModelNameForm ¶
type ModelModelNameForm struct {
FieldName string `form:"field_name" validate:"required"`
form.Submission
}
type ModelModelNameListData ¶
type ModelPrice ¶
type ModelPrice struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
func NewModelPrice ¶
func NewModelPrice(c *services.Container) *ModelPrice
func (*ModelPrice) Routes ¶
func (h *ModelPrice) Routes() RouteMapMeta
func (*ModelPrice) SubmitDelete ¶
func (h *ModelPrice) SubmitDelete(ctx echo.Context) error
func (*ModelPrice) SubmitEdit ¶
func (h *ModelPrice) SubmitEdit(ctx echo.Context) error
type ModelPriceEditParams ¶
type ModelPriceEditParams struct {
ID int `param:"id"`
}
type ModelPriceForm ¶
type ModelPriceListData ¶
type ModelProduct ¶
type ModelProduct struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
func NewModelProduct ¶
func NewModelProduct(c *services.Container) *ModelProduct
func (*ModelProduct) Routes ¶
func (h *ModelProduct) Routes() RouteMapMeta
func (*ModelProduct) SubmitDelete ¶
func (h *ModelProduct) SubmitDelete(ctx echo.Context) error
func (*ModelProduct) SubmitEdit ¶
func (h *ModelProduct) SubmitEdit(ctx echo.Context) error
type ModelProductData ¶
type ModelProductEditParams ¶
type ModelProductEditParams struct {
ID int `param:"id"`
}
type ModelProductForm ¶
type ModelProductForm struct {
StripeID string `form:"stripe_id" validate:"required"`
Name string `form:"name" validate:"required"`
form.Submission
}
type ModelProductListData ¶
type Pages ¶
type Pages struct {
*services.TemplateRenderer
}
type RouteMapMeta ¶
type Search ¶
type Search struct {
*services.TemplateRenderer
}
type Stripe ¶
type Stripe struct {
*services.TemplateRenderer
Stripe *services.StripeClient
Cache *services.CacheClient
// contains filtered or unexported fields
}
type Task ¶
type Task struct {
*services.TemplateRenderer
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.