Documentation ¶
Index ¶
- func ExportDataset() echo.HandlerFunc
- type CreateVerificationInput
- type PasswordResetInput
- type PublishedController
- func (c *PublishedController) Data(ctx context.Context, name string) (io.Reader, error)
- func (c *PublishedController) Index(ctx context.Context, name string, url *url.URL) (string, error)
- func (c *PublishedController) Metadata(ctx context.Context, name string) (interfaces.ProjectPublishedMetadata, error)
- type SignupInput
- type SignupOutput
- type UserController
- func (c *UserController) CreateVerification(ctx context.Context, input CreateVerificationInput) error
- func (c *UserController) PasswordReset(ctx context.Context, input PasswordResetInput) error
- func (c *UserController) Signup(ctx context.Context, input SignupInput) (SignupOutput, error)
- func (c *UserController) StartPasswordReset(ctx context.Context, input PasswordResetInput) error
- func (c *UserController) VerifyUser(ctx context.Context, code string) (VerifyUserOutput, error)
- type VerifyUserOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportDataset ¶
func ExportDataset() echo.HandlerFunc
Types ¶
type CreateVerificationInput ¶
type CreateVerificationInput struct {
Email string `json:"email"`
}
type PasswordResetInput ¶
type PublishedController ¶
type PublishedController struct {
// contains filtered or unexported fields
}
func NewPublishedController ¶
func NewPublishedController(usecase interfaces.Published) *PublishedController
func (*PublishedController) Metadata ¶
func (c *PublishedController) Metadata(ctx context.Context, name string) (interfaces.ProjectPublishedMetadata, error)
type SignupInput ¶
type SignupInput struct { Sub *string `json:"sub"` Secret *string `json:"secret"` UserID *accountdomain.UserID `json:"userId"` WorkspaceID *accountdomain.WorkspaceID `json:"workspaceId"` TeamID *accountdomain.WorkspaceID `json:"teamId"` // TeamID is an alias of WorkspaceID Name string `json:"name"` Username string `json:"username"` // ysername is an alias of Name Email string `json:"email"` Password string `json:"password"` Theme *user.Theme `json:"theme"` Lang *language.Tag `json:"lang"` }
type SignupOutput ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(usecase accountinterfaces.User) *UserController
func (*UserController) CreateVerification ¶
func (c *UserController) CreateVerification(ctx context.Context, input CreateVerificationInput) error
func (*UserController) PasswordReset ¶
func (c *UserController) PasswordReset(ctx context.Context, input PasswordResetInput) error
func (*UserController) Signup ¶
func (c *UserController) Signup(ctx context.Context, input SignupInput) (SignupOutput, error)
func (*UserController) StartPasswordReset ¶
func (c *UserController) StartPasswordReset(ctx context.Context, input PasswordResetInput) error
func (*UserController) VerifyUser ¶
func (c *UserController) VerifyUser(ctx context.Context, code string) (VerifyUserOutput, error)
type VerifyUserOutput ¶
Click to show internal directories.
Click to hide internal directories.