Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserControllerImpl ¶
type CreateUserControllerImpl struct { AccountID uuid.UUID `json:"account_id" form:"account_id" validate:"required,uuid"` AccountSigningKeyGroupID uuid.UUID `json:"account_skgs_id" form:"account_skgs_id" validate:"required,uuid"` Name string `json:"name" form:"name" validate:"required,min=3,max=100"` Description string `json:"description" form:"description" validate:"required,min=3,max=1024"` ports.Repository htmx.DefaultController }
CreateUserControllerImpl ...
func NewCreateUserController ¶
func NewCreateUserController(db ports.Repository) *CreateUserControllerImpl
NewCreateUserController ...
func (*CreateUserControllerImpl) Prepare ¶
func (l *CreateUserControllerImpl) Prepare() error
Prepare ...
type DeleteUserControllerImpl ¶
type DeleteUserControllerImpl struct { ID uuid.UUID `json:"name" form:"name" param:"id" validate:"required,uuid"` ports.Users htmx.DefaultController }
DeleteUserControllerImpl ...
func NewDeleteUserController ¶
func NewDeleteUserController(db ports.Users) *DeleteUserControllerImpl
NewDeleteUserController ...
func (*DeleteUserControllerImpl) Delete ¶
func (l *DeleteUserControllerImpl) Delete() error
Delete ...
type ListUsersController ¶
type ListUsersController struct { Offset int `json:"offset" form:"offset"` Limit int `json:"limit" form:"limit"` Search string `json:"search" form:"search"` Sort string `json:"sort" form:"sort"` ports.Users htmx.DefaultController }
ListUsersController ...
func NewListUsersController ¶
func NewListUsersController(db ports.Users) *ListUsersController
NewListUsersController ...
type NewUserControllerImpl ¶
type NewUserControllerImpl struct { Accounts []*models.Account ports.Repository htmx.DefaultController }
NewUserControllerImpl ...
func NewUserController ¶
func NewUserController(db ports.Repository) *NewUserControllerImpl
NewUserController ...
type ShowUserControllerImpl ¶
type ShowUserControllerImpl struct { ID uuid.UUID `json:"name" form:"name" validate:"required:uuid"` ports.Users htmx.DefaultController }
ShowUserControllerImpl ...
func NewShowUserController ¶
func NewShowUserController(db ports.Users) *ShowUserControllerImpl
NewShowUserController ...
Click to show internal directories.
Click to hide internal directories.