routes

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

routes lists all available HTTP routes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvelopeTab

type EnvelopeTab string
const (
	EnvelopeTabText        EnvelopeTab = ""
	EnvelopeTabHTML        EnvelopeTab = "html"
	EnvelopeTabAttachments EnvelopeTab = "attachments"
)

func (EnvelopeTab) String

func (t EnvelopeTab) String() string

type Route

type Route string

func AttachmentFile

func AttachmentFile(fileName string) Route

func AttachmentList

func AttachmentList() Route

func AttachmentTrim

func AttachmentTrim() Route

func Endpoint

func Endpoint(id any) Route

func EndpointList

func EndpointList() Route

func EndpointTest

func EndpointTest(id any) Route

func Envelope

func Envelope(id any) Route

func EnvelopeCreate

func EnvelopeCreate() Route

func EnvelopeEndpointSend

func EnvelopeEndpointSend(id any) Route

func EnvelopeHTML

func EnvelopeHTML(id any) Route

func EnvelopeList

func EnvelopeList() Route

func EnvelopeTabComponent

func EnvelopeTabComponent(id any, tab EnvelopeTab) Route

func Index

func Index() Route

func Login

func Login() Route

func Logout

func Logout() Route

func NullComponent

func NullComponent() Route

func RecentEnvelopeListComponent

func RecentEnvelopeListComponent() Route

func RetentionPolicyRun

func RetentionPolicyRun() Route

func Rule

func Rule(id any) Route

func RuleCreate

func RuleCreate() Route

func RuleExpressionCheck

func RuleExpressionCheck() Route

func RuleList

func RuleList() Route

func RuleToggle

func RuleToggle(id any) Route

func StorageStatsComponent

func StorageStatsComponent() Route

func TraceList

func TraceList() Route

func (Route) ChildOf

func (r Route) ChildOf(route Route) bool

ChildOf checks if the current route is child of given route. Only works for root level routes (e.g. "/", "/profile", ...)

func (Route) String

func (r Route) String() string

func (Route) URL

func (r Route) URL() templ.SafeURL

URL generates a template safe URL.

func (Route) URLQuery

func (r Route) URLQuery(q string) templ.SafeURL

URLQuery generates a template safe URL with a query.

func (Route) URLQueryString

func (r Route) URLQueryString(q string) string

URLQueryString generates a template safe URL with a query.

func (Route) URLString

func (r Route) URLString() string

URLString generates a template safe URL.

Jump to

Keyboard shortcuts

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