Documentation
¶
Index ¶
- Constants
- func InitActivePage(ctx echo.Context) map[string]bool
- func Render(ctx echo.Context, cmp templ.Component) error
- type AboutHandler
- type ClaimHandler
- type ClaimRequest
- type CustomValidator
- type DuplicatesHandler
- type HistoryHandler
- type IndexHandler
- type ObjectClaimAPIError
- type ObjectClaimAPIResponse
- type ObjectTypeQuery
- type RemoteHandler
- type UsedHandler
Constants ¶
View Source
const PageSize = 10
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AboutHandler ¶
func (AboutHandler) HandleAboutShow ¶
func (h AboutHandler) HandleAboutShow(c echo.Context) error
type ClaimHandler ¶
type ClaimHandler struct {
DB *sqlx.DB
AllowedList *model.AllowedList
}
func (*ClaimHandler) HandleNewObjectClaim ¶
func (h *ClaimHandler) HandleNewObjectClaim(c echo.Context) error
func (*ClaimHandler) HandleNewObjectClaimAPI ¶
func (h *ClaimHandler) HandleNewObjectClaimAPI(c echo.Context) error
func (ClaimHandler) HandleObjectTypeQuery ¶
func (h ClaimHandler) HandleObjectTypeQuery(c echo.Context) error
func (ClaimHandler) HandlePageShow ¶
func (h ClaimHandler) HandlePageShow(c echo.Context) error
type ClaimRequest ¶
type ClaimRequest struct {
ObjectType model.ObjectType `json:"query" validate:"required"`
}
type CustomValidator ¶
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i interface{}) error
type DuplicatesHandler ¶
func (*DuplicatesHandler) HandleDuplicatesShow ¶
func (h *DuplicatesHandler) HandleDuplicatesShow(c echo.Context) error
type HistoryHandler ¶
func (*HistoryHandler) HandleHistoryShow ¶
func (h *HistoryHandler) HandleHistoryShow(c echo.Context) error
func (*HistoryHandler) HandlePostQuery ¶
func (h *HistoryHandler) HandlePostQuery(c echo.Context) error
type IndexHandler ¶
func (IndexHandler) HandleIndexShow ¶
func (h IndexHandler) HandleIndexShow(c echo.Context) error
type ObjectClaimAPIError ¶
type ObjectClaimAPIError struct {
Message string `json:"message"`
}
type ObjectClaimAPIResponse ¶
type ObjectTypeQuery ¶
type ObjectTypeQuery struct {
ObjectType model.ObjectType `json:"query"`
}
type RemoteHandler ¶
func (RemoteHandler) HandleRemoteShow ¶
func (h RemoteHandler) HandleRemoteShow(c echo.Context) error
type UsedHandler ¶
func (UsedHandler) HandleUsedShow ¶
func (h UsedHandler) HandleUsedShow(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.