controller

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

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

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

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

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

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
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
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