users

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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"`

	htmx.DefaultController
	// contains filtered or unexported fields
}

CreateUserControllerImpl ...

func NewCreateUserController

func NewCreateUserController(store ports.Datastore) *CreateUserControllerImpl

NewCreateUserController ...

func (*CreateUserControllerImpl) Get

Get ...

func (*CreateUserControllerImpl) Post

func (l *CreateUserControllerImpl) Post() error

Post ...

func (*CreateUserControllerImpl) Prepare

func (l *CreateUserControllerImpl) Prepare() error

Prepare ...

type DeleteUserControllerImpl

type DeleteUserControllerImpl struct {
	ID uuid.UUID `json:"name" form:"name" params:"id" validate:"required,uuid"`

	htmx.DefaultController
	// contains filtered or unexported fields
}

DeleteUserControllerImpl ...

func NewDeleteUserController

func NewDeleteUserController(store ports.Datastore) *DeleteUserControllerImpl

NewDeleteUserController ...

func (*DeleteUserControllerImpl) Delete

func (l *DeleteUserControllerImpl) Delete() error

Delete ...

type ListUsersController

type ListUsersController struct {
	Results tables.Results[models.User]

	htmx.DefaultController
	// contains filtered or unexported fields
}

ListUsersController ...

func NewListUsersController

func NewListUsersController(store ports.Datastore) *ListUsersController

NewListUsersController ...

func (*ListUsersController) Get

func (l *ListUsersController) Get() error

Prepare ...

func (*ListUsersController) Prepare

func (l *ListUsersController) Prepare() error

Prepare ...

type NewUserControllerImpl

type NewUserControllerImpl struct {
	Results tables.Results[models.Account]

	htmx.DefaultController
	// contains filtered or unexported fields
}

NewUserControllerImpl ...

func NewUserController

func NewUserController(store ports.Datastore) *NewUserControllerImpl

NewUserController ...

func (*NewUserControllerImpl) Get

func (l *NewUserControllerImpl) Get() error

Get ...

func (*NewUserControllerImpl) Prepare

func (l *NewUserControllerImpl) Prepare() error

Prepare ...

type ShowUserControllerImpl

type ShowUserControllerImpl struct {
	ID uuid.UUID `json:"name" form:"name" validate:"required:uuid"`

	htmx.DefaultController
	// contains filtered or unexported fields
}

ShowUserControllerImpl ...

func NewShowUserController

func NewShowUserController(store ports.Datastore) *ShowUserControllerImpl

NewShowUserController ...

func (*ShowUserControllerImpl) Get

func (l *ShowUserControllerImpl) Get() error

Get ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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