controller

package
v0.1.3-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
	Name        string `json:"name"`
	RestApiPath string `json:"rest_api_path"`
	Routes      []interfaces.Route
}

func (*BaseController) GetControllerName

func (s *BaseController) GetControllerName() string

func (*BaseController) GetRestApiPath

func (s *BaseController) GetRestApiPath() string

func (*BaseController) GetRoutes

func (s *BaseController) GetRoutes() []interfaces.Route

func (*BaseController) Register

func (controller *BaseController) Register(server *echo.Echo)

Jump to

Keyboard shortcuts

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