controller

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: BSD-3-Clause Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// FormPathSlash is the path to the form with a trailing slash
	FormPathSlash = formPath + "/"
)

Variables

This section is empty.

Functions

func NewController

func NewController() node.Initializer

NewController returns a new controller initializer

Types

type RegisterAction

type RegisterAction struct{}

RegisterAction is an action to register the HTTP handlers

- implements node.ActionTemplate

func (*RegisterAction) Execute

func (a *RegisterAction) Execute(ctx node.Context) error

Execute implements node.ActionTemplate. It registers the handlers using the default proxy from the the injector.

Jump to

Keyboard shortcuts

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