Documentation ¶
Index ¶
Constants ¶
View Source
const (
DeleteAccountURL = "/accounts/delete"
)
Variables ¶
This section is empty.
Functions ¶
func NewGetAccountTokenController ¶
func NewGetAccountTokenController(store ports.Datastore) *tokens.GetAccountTokenControllerImpl
NewGetAccountTokenController ...
Types ¶
type CreateControllerBody ¶ added in v0.1.24
type CreateControllerBody struct { OperatorID uuid.UUID `json:"operator_id" form:"operator_id" validate:"required,uuid"` OperatorSigningKeyGroupID string `json:"operator_signing_key_group_id" form:"operator_skgs_id"` TeamID uuid.UUID `json:"team_id" form:"team_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"` JetStreamEnable bool `json:"jetstream_enable" form:"jetstream_enable"` JetStreamMaxDiskStorage float64 `json:"jetstream_max_disk_storage" form:"jetstream_max_disk_storage"` JetStreamMaxDiskStorageUnit string `json:"jetstream_max_disk_storage_unit" form:"jetstream_max_disk_storage_unit"` JetStreamMaxStreams int64 `json:"jetstream_max_streams" form:"jetstream_max_streams"` JetStreamMaxConsumers int64 `json:"jetstream_max_consumers" form:"jetstream_max_consumers"` JetStreamMaxStreamSize float64 `json:"jetstream_max_stream_size" form:"jetstream_max_stream_size"` JetStreamMaxStreamSizeUnit string `json:"jetstream_max_stream_size_unit" form:"jetstream_max_stream_size_unit"` JetStreamMaxBytesRequired bool `json:"jetstream_max_bytes_required" form:"jetstream_max_bytes_required"` }
CreateControllerBody ...
type CreateControllerImpl ¶
type CreateControllerImpl struct { Form CreateControllerBody htmx.TransactionController htmx.DefaultController // contains filtered or unexported fields }
CreateControllerImpl ...
func NewCreateController ¶
func NewCreateController(store ports.Datastore) *CreateControllerImpl
NewCreateController ...
func (*CreateControllerImpl) Error ¶ added in v0.1.24
func (l *CreateControllerImpl) Error(err error) error
Error ...
func (*CreateControllerImpl) Post ¶
func (l *CreateControllerImpl) Post() error
Post ... nolint:gocyclo
type DeleteAccountControllerImpl ¶
type DeleteAccountControllerImpl struct { htmx.DefaultController // contains filtered or unexported fields }
DeleteAccountControllerImpl ...
func NewDeleteAccountController ¶
func NewDeleteAccountController(store ports.Datastore) *DeleteAccountControllerImpl
NewDeleteAccountController ...
func (*DeleteAccountControllerImpl) Delete ¶
func (l *DeleteAccountControllerImpl) Delete() error
Delete ...
type ListAccountsController ¶
type ListAccountsController struct { Results tables.Results[models.Account] htmx.DefaultController // contains filtered or unexported fields }
ListAccountsController ...
func NewListAccountsController ¶
func NewListAccountsController(store ports.Datastore) *ListAccountsController
NewListAccountsController ...
func (*ListAccountsController) Prepare ¶
func (l *ListAccountsController) Prepare() error
Prepare ...
type NewAccountControllerImpl ¶
type NewAccountControllerImpl struct { Results tables.Results[models.Operator] Teams tables.Results[models.Team] htmx.DefaultController // contains filtered or unexported fields }
NewAccountControllerImpl ...
func NewAccountController ¶
func NewAccountController(store ports.Datastore) *NewAccountControllerImpl
NewAccountController ...
func (*NewAccountControllerImpl) Prepare ¶
func (l *NewAccountControllerImpl) Prepare() error
Prepare ...
type ShowAccountControllerImpl ¶
type ShowAccountControllerImpl struct { htmx.DefaultController // contains filtered or unexported fields }
ShowAccountControllerImpl ...
func NewShowAccountController ¶
func NewShowAccountController(store ports.Datastore) *ShowAccountControllerImpl
NewShowAccountController ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.