models

package
v0.0.0-...-2ca430b Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claim

type Claim struct {

	//
	//
	//
	User string `json:"user"`

	Id string `json:"id"`

	Key string `json:"key"`

	//
	//
	//
	jwt.StandardClaims
}

jwt

type ResponseToken

type ResponseToken struct {

	//
	// token
	//
	Token string `json:"token,omitempty"`

	Expires string `json:"expires,omitempty"`

	Message string `json:"message"`
}

ResponseToken

type User

type User struct {

	//
	//
	//
	Login string `json:"login"`

	//
	//
	//
	Password string `json:"password,omitempty"`

	//
	//
	//
	Role string `json:"role"`
}

User structure

Jump to

Keyboard shortcuts

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