handler

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 13 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) Update

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

type Error

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

type NoRows

type NoRows interface {
	IsNoRows(err error) bool
}

type StatusHandler

type StatusHandler struct {
}

func NewStatusHandler

func NewStatusHandler() StatusHandler

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