Documentation ¶
Index ¶
Constants ¶
View Source
const ( OrderDescending = 0 OrderAscending = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth interface { Authorize(next http.HandlerFunc) http.HandlerFunc Admin(next http.HandlerFunc) http.HandlerFunc AuthorizeRoles(roles []Role, next http.HandlerFunc) http.HandlerFunc }
type PaginatedList ¶
type PaginatedList[T any] struct { Pagination Pagination Items []T }
type PaginatedListOrder ¶
type PaginatedListOrder int
type Pagination ¶
type Pagination struct { CurrentPage int ElementsPerPage int TotalElements int Order PaginatedListOrder OrderBy string }
type UseCaseError ¶
Click to show internal directories.
Click to hide internal directories.