controllers

package
v0.0.0-...-00c360f Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	Echo         *echo.Echo
	AuthProvider auth.AuthProvider
}

func (*AuthController) Init

func (ac *AuthController) Init()

func (*AuthController) LoginHandler

func (ac *AuthController) LoginHandler(ctx echo.Context) error

Handles login request

type CompaniesController

type CompaniesController struct {
	Echo           *echo.Echo
	DB             *postgres.Postgres
	AuthMiddleware echo.MiddlewareFunc
}

func (*CompaniesController) Init

func (cc *CompaniesController) Init()

type DAGsController

type DAGsController struct {
	Echo           *echo.Echo
	DAGService     services.DAGService
	Hub            *collab.Hub
	DB             *postgres.Postgres
	AuthMiddleware echo.MiddlewareFunc
	LogDAGRequests bool
}

func (*DAGsController) Init

func (dc *DAGsController) Init()

func (*DAGsController) StandardResponse

func (dc *DAGsController) StandardResponse(ctx echo.Context, response interface{}, err error) error

type EdgeController

type EdgeController struct {
	Echo            *echo.Echo
	EdgeService     services.EdgeService
	AuthMiddleware  echo.MiddlewareFunc
	LogEdgeRequests bool
}

func (*EdgeController) Init

func (dc *EdgeController) Init()

func (*EdgeController) StandardResponse

func (ac *EdgeController) StandardResponse(ctx echo.Context, response interface{}, err error) error

type ElementSharesController

type ElementSharesController struct {
	Echo           *echo.Echo
	DB             *postgres.Postgres
	SigningKey     string
	AuthMiddleware echo.MiddlewareFunc
}

func (*ElementSharesController) Init

func (ec *ElementSharesController) Init()

type GroupsController

type GroupsController struct {
	Echo           *echo.Echo
	DB             *postgres.Postgres
	AuthMiddleware echo.MiddlewareFunc
}

func (*GroupsController) Init

func (gc *GroupsController) Init()
type MenuController struct {
	Echo            *echo.Echo
	MenuService     services.MenuService
	AuthMiddleware  echo.MiddlewareFunc
	LogMenuRequests bool
}
func (dc *MenuController) Init()
func (ac *MenuController) StandardResponse(ctx echo.Context, response interface{}, err error) error

type NodeController

type NodeController struct {
	Echo            *echo.Echo
	NodeService     services.NodeService
	AuthMiddleware  echo.MiddlewareFunc
	LogNodeRequests bool
}

func (*NodeController) Init

func (dc *NodeController) Init()

func (*NodeController) StandardResponse

func (ac *NodeController) StandardResponse(ctx echo.Context, response interface{}, err error) error

type SharesController

type SharesController struct {
	Echo           *echo.Echo
	DB             *postgres.Postgres
	SigningKey     string
	AuthMiddleware echo.MiddlewareFunc
}

func (*SharesController) Init

func (sc *SharesController) Init()

Jump to

Keyboard shortcuts

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