controller

package
v2.5.12 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Code generated by api_gen. DO NOT EDIT. generated version: (devel)

Code generated by api_gen. DO NOT EDIT. Package controller binds handlers to echo generated version: (devel)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controllers

type Controllers struct {
	// contains filtered or unexported fields
}

Controllers binds handlers to echo

func NewControllers

func NewControllers(
	props *props.ControllerProps, e *echo.Echo,
) *Controllers

NewControllers returns a new Controllers

func (*Controllers) AddMiddleware

func (c *Controllers) AddMiddleware(path string, m echo.MiddlewareFunc)

AddMiddleware adds 'm' to the paths starting with the 'path'.

func (*Controllers) DisableErrorHandling

func (c *Controllers) DisableErrorHandling()

DisableErrorHandling disables

Directories

Path Synopsis
controller
foo/bar
Package controller handles requests and returns responses.
Package controller handles requests and returns responses.
Code generated by api_gen.
Code generated by api_gen.
controller/foo/bar
Code generated by api_gen.
Code generated by api_gen.
pkg
apierror
Code generated by api_gen.
Code generated by api_gen.
Package props is a scaffold file for props of controllers
Package props is a scaffold file for props of controllers

Jump to

Keyboard shortcuts

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