pages

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

pages is used by http package.

Index

Constants

View Source
const ParamID = "{id}"

Variables

This section is empty.

Functions

func AttachmentListView

func AttachmentListView(ct Controller, app core.App) http.HandlerFunc

func AttachmentTrim

func AttachmentTrim(ct Controller, app core.App, view http.Handler) http.HandlerFunc

func EndpointCreate added in v0.14.0

func EndpointCreate(ct Controller, app core.App) http.HandlerFunc

func EndpointCreateView added in v0.14.0

func EndpointCreateView(ct Controller, app core.App) http.HandlerFunc

func EndpointDelete added in v0.14.0

func EndpointDelete(ct Controller, app core.App) http.HandlerFunc

func EndpointFormConfigComponent added in v0.14.0

func EndpointFormConfigComponent(ct Controller, app core.App) http.HandlerFunc

func EndpointListView

func EndpointListView(ct Controller, app core.App) http.HandlerFunc

func EndpointTest

func EndpointTest(ct Controller, app core.App) http.HandlerFunc

func EndpointUpdate added in v0.14.0

func EndpointUpdate(ct Controller, app core.App) http.HandlerFunc

func EndpointView added in v0.14.0

func EndpointView(ct Controller, app core.App) http.HandlerFunc

func EnvelopeCreate

func EnvelopeCreate(ct Controller, app core.App) http.HandlerFunc

func EnvelopeCreateView

func EnvelopeCreateView(ct Controller, app core.App) http.HandlerFunc

func EnvelopeDelete

func EnvelopeDelete(ct Controller, app core.App) http.HandlerFunc

func EnvelopeEndpointSend

func EnvelopeEndpointSend(ct Controller, app core.App) http.HandlerFunc

func EnvelopeHTMLView

func EnvelopeHTMLView(ct Controller, app core.App) http.HandlerFunc

func EnvelopeListDrop

func EnvelopeListDrop(ct Controller, app core.App, view http.Handler) http.HandlerFunc

func EnvelopeListView

func EnvelopeListView(ct Controller, app core.App) http.HandlerFunc

func EnvelopeTabComponent

func EnvelopeTabComponent(ct Controller, app core.App, tab routes.EnvelopeTab) http.HandlerFunc

func EnvelopeView

func EnvelopeView(ct Controller, app core.App) http.HandlerFunc

func Files

func Files(ct Controller, app core.App, fs fs.FS) http.HandlerFunc

func IndexView

func IndexView(ct Controller, app core.App) http.HandlerFunc

func Login

func Login(ct Controller, app core.App, ss sessions.Store) http.HandlerFunc

func LoginView

func LoginView(ct Controller, app core.App) http.HandlerFunc

func Logout

func Logout(ct Controller, app core.App, ss sessions.Store) http.HandlerFunc

func NullComponent

func NullComponent() http.HandlerFunc

func RecentEnvelopeListComponent

func RecentEnvelopeListComponent(ct Controller, app core.App) http.HandlerFunc

func RetentionPolicyRun

func RetentionPolicyRun(ct Controller, app core.App) http.HandlerFunc

func RuleCreate

func RuleCreate(ct Controller, app core.App) http.HandlerFunc

func RuleCreateView

func RuleCreateView(ct Controller, app core.App) http.HandlerFunc

func RuleDelete

func RuleDelete(ct Controller, app core.App) http.HandlerFunc

func RuleExpressionCheck

func RuleExpressionCheck(ct Controller, app core.App) http.HandlerFunc

func RuleListView

func RuleListView(ct Controller, app core.App) http.HandlerFunc

func RuleToggle

func RuleToggle(ct Controller, app core.App) http.HandlerFunc

func RuleUpdate

func RuleUpdate(ct Controller, app core.App) http.HandlerFunc

func RuleView

func RuleView(ct Controller, app core.App) http.HandlerFunc

func StorageStatsComponent

func StorageStatsComponent(ct Controller, app core.App) http.HandlerFunc

func TraceListDrop

func TraceListDrop(ct Controller, app core.App, view http.Handler) http.HandlerFunc

func TraceListView

func TraceListView(ct Controller, app core.App) http.HandlerFunc

Types

type Controller

type Controller interface {
	// Meta returns the meta data for the request.
	Meta(r *http.Request) meta.Meta
	// Page renders a html page.
	Page(w http.ResponseWriter, r *http.Request, body templ.Component)
	// Component renders a html component.
	Component(w http.ResponseWriter, r *http.Request, body templ.Component)
	// Error renders error.
	Error(w http.ResponseWriter, r *http.Request, err error, code int)
}

Jump to

Keyboard shortcuts

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