schemas

package
v0.0.0-...-4831141 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action string
const (
	SendEmailVerification     Action = "SendEmailVerification"
	EmailVerificationComplete Action = "EmailVerificationComplete"
	SendPasswordReset         Action = "SendPasswordReset"
	PasswordResetComplete     Action = "PasswordResetComplete"
	EmailUpdate               Action = "EmailUpdate"
	PasswordUpdate            Action = "PasswordUpdate"
)

type Request

type Request struct {
	Action Action                 `json:"action" bson:"action" binding:"required"`
	Data   map[string]interface{} `json:"data" bson:"data" binding:"required"`
}

type Response

type Response struct {
	Link string `json:"link" bson:"link"`
}

Jump to

Keyboard shortcuts

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