Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserInput ¶
type CreateUserInput struct { Sub string `json:"sub"` Secret string `json:"secret"` UserID *accountdomain.UserID `json:"userId"` WorkspaceID *id.WorkspaceID `json:"workspaceId"` }
type CreateVerificationInput ¶
type CreateVerificationInput struct {
Email string `json:"email"`
}
type NotifyInput ¶
type NotifyInput struct { Type string `json:"type"` AssetID string `json:"assetId"` Status *asset.ArchiveExtractionStatus `json:"status"` Task *NotifyInputTask `json:"-"` }
type NotifyInputTask ¶
type PasswordResetInput ¶
type SignupInput ¶
type SignupInput struct { Sub *string `json:"sub"` Secret *string `json:"secret"` UserID *accountdomain.UserID `json:"userId"` WorkspaceID *accountdomain.WorkspaceID `json:"workspaceId"` Name string `json:"username"` Email string `json:"email"` Password string `json:"password"` Theme *user.Theme `json:"theme"` Lang *language.Tag `json:"lang"` }
type SignupOutput ¶
type TaskController ¶
type TaskController struct {
// contains filtered or unexported fields
}
func NewTaskController ¶
func NewTaskController(uc interfaces.Asset) *TaskController
func (*TaskController) Notify ¶
func (tc *TaskController) Notify(ctx context.Context, input NotifyInput) error
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(usecase accountinterfaces.User) *UserController
func (*UserController) Signup ¶
func (c *UserController) Signup(ctx context.Context, input SignupInput) (SignupOutput, error)
type VerifyUserOutput ¶
Click to show internal directories.
Click to hide internal directories.