Documentation
¶
Index ¶
- Variables
- func CreateSecret() ([]model.Secret, error)
- func CreateTokenForUser(account *model.User) (*auth.JwtToken, error)
- func CreateUser(user model.User) (*model.User, error)
- func GetClaims(token jwt.Token) (jwt.MapClaims, error)
- func GetSecret(id string) (*model.Secret, error)
- func GetSecrets() ([]model.Secret, error)
- func GetUser(username string) (*model.User, error)
- func GetUserById(id string) (*model.User, error)
- func SelectTableSizes() ([]model.TableSize, error)
- type AccessTokenResponse
- type CustomClaims
Constants ¶
This section is empty.
Variables ¶
View Source
var SqlTableSizes string
Functions ¶
func CreateSecret ¶
func GetSecrets ¶
func SelectTableSizes ¶
Types ¶
type AccessTokenResponse ¶
type CustomClaims ¶
type CustomClaims struct { *jwt.RegisteredClaims Scope string `json:"scope"` }
Click to show internal directories.
Click to hide internal directories.