controller

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Init(app interface{}, params []string)
	Run(response http.ResponseWriter, request *http.Request)
}

Controller Main interface for controllers

type Super

type Super struct {
	Controller
	Container interface{}
	Params    []string
}

Super Super-struct for all controllers.

func (*Super) Init

func (c *Super) Init(app interface{}, params []string)

Init Initialise the controller

Jump to

Keyboard shortcuts

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