Documentation ¶
Index ¶
- func CreateJWT(username string) (string, error)
- func HashPassword(password string) (string, error)
- func MatchPasswords(toCheck string, hashed string) bool
- func RanHash() string
- func ValidateJWT(tokenString string) (*jwt.Token, error)
- type CreateDocumentRequest
- type CreateUserRequest
- type Document
- type Env
- type UpdateDocumentRequest
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
func MatchPasswords ¶
func ValidateJWT ¶
Types ¶
type CreateDocumentRequest ¶
type CreateUserRequest ¶
type Env ¶
type UpdateDocumentRequest ¶
Click to show internal directories.
Click to hide internal directories.