handler

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiValidator

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

func NewApiValidator

func NewApiValidator() *ApiValidator

func (*ApiValidator) Validate

func (v *ApiValidator) Validate(i interface{}) error

type AppHandler

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

func NewAppHandler

func NewAppHandler(
	apps storage.IApp,
	address storage.IAddress,
	rollup storage.IRollup,
	tx sdk.Transactable,
) *AppHandler

func (*AppHandler) Create

func (handler *AppHandler) Create(c echo.Context) error

func (*AppHandler) Delete

func (handler *AppHandler) Delete(c echo.Context) error

func (*AppHandler) InitRoutes added in v1.4.0

func (handler *AppHandler) InitRoutes(srvr *echo.Group)

func (*AppHandler) Update

func (handler *AppHandler) Update(c echo.Context) error

type Error

type Error struct {
	Message string `json:"message"`
}

type Handler added in v1.4.0

type Handler interface {
	InitRoutes(srvr *echo.Group)
}

type NoRows

type NoRows interface {
	IsNoRows(err error) bool
}

type StatusHandler

type StatusHandler struct {
}

func NewStatusHandler

func NewStatusHandler() *StatusHandler

func (*StatusHandler) InitRoutes added in v1.4.0

func (handler *StatusHandler) InitRoutes(srvr *echo.Group)

func (*StatusHandler) Status

func (handler *StatusHandler) Status(c echo.Context) error

Jump to

Keyboard shortcuts

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