controller

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package controller - Content managed by Project Forge, see [projectforge.md] for details.

Package controller - Content managed by Project Forge, see [projectforge.md] for details.

Package controller - Content managed by Project Forge, see [projectforge.md] for details.

Package controller - Content managed by Project Forge, see [projectforge.md] for details.

Content managed by Project Forge, see [projectforge.md] for details.

Package controller - Content managed by Project Forge, see [projectforge.md] for details.

Package controller - Content managed by Project Forge, see [projectforge.md] for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Act added in v0.2.5

func Act(key string, rc *fasthttp.RequestCtx, f func(as *app.State, ps *cutil.PageState) (string, error))

func ActSite added in v0.2.5

func ActSite(key string, rc *fasthttp.RequestCtx, f func(as *app.State, ps *cutil.PageState) (string, error))

func ActionEdit

func ActionEdit(rc *fasthttp.RequestCtx)

func ActionOrdering

func ActionOrdering(rc *fasthttp.RequestCtx)

func ActionSave

func ActionSave(rc *fasthttp.RequestCtx)

func ERsp added in v0.2.5

func ERsp(msg string, args ...any) (string, error)

func FlashAndRedir added in v0.2.5

func FlashAndRedir(success bool, msg string, redir string, rc *fasthttp.RequestCtx, ps *cutil.PageState) (string, error)

func Home

func Home(rc *fasthttp.RequestCtx)

func NotFound

func NotFound(rc *fasthttp.RequestCtx)

func Options

func Options(rc *fasthttp.RequestCtx)

func Refresh

func Refresh(rc *fasthttp.RequestCtx)

func Render added in v0.2.5

func Render(rc *fasthttp.RequestCtx, as *app.State, page layout.Page, ps *cutil.PageState, breadcrumbs ...string) (string, error)

func ReturnToReferrer added in v0.2.5

func ReturnToReferrer(msg string, dflt string, rc *fasthttp.RequestCtx, ps *cutil.PageState) (string, error)

func SandboxList

func SandboxList(rc *fasthttp.RequestCtx)

func SandboxRun

func SandboxRun(rc *fasthttp.RequestCtx)

func SetAppState

func SetAppState(a *app.State, logger util.Logger)

func SetSiteState

func SetSiteState(a *app.State, logger util.Logger)

func Site

func Site(rc *fasthttp.RequestCtx)

func Unauthorized

func Unauthorized(rc *fasthttp.RequestCtx, reason string, accounts user.Accounts) func(as *app.State, ps *cutil.PageState) (string, error)

func WorkspaceProject

func WorkspaceProject(rc *fasthttp.RequestCtx)

func WorkspaceSource

func WorkspaceSource(rc *fasthttp.RequestCtx)

Types

This section is empty.

Directories

Path Synopsis
Package clib - Content managed by Project Forge, see [projectforge.md] for details.
Package clib - Content managed by Project Forge, see [projectforge.md] for details.
Package cmenu - Content managed by Project Forge, see [projectforge.md] for details.
Package cmenu - Content managed by Project Forge, see [projectforge.md] for details.
Package csession - Content managed by Project Forge, see [projectforge.md] for details.
Package csession - Content managed by Project Forge, see [projectforge.md] for details.
Package cutil - Content managed by Project Forge, see [projectforge.md] for details.
Package cutil - Content managed by Project Forge, see [projectforge.md] for details.
Package routes - Content managed by Project Forge, see [projectforge.md] for details.
Package routes - Content managed by Project Forge, see [projectforge.md] for details.

Jump to

Keyboard shortcuts

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