entity

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 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 CreateAccessTokenRequest

type CreateAccessTokenRequest struct {
	UserID      int64
	Username    string
	IsAdmin     bool
	AccessUUID  string
	RefreshUUID string
}

CreateAccessTokenRequest is request model for create access token.

type CreateRefreshTokenRequest

type CreateRefreshTokenRequest struct {
	UserID      int64
	Username    string
	IsAdmin     bool
	RefreshUUID string
}

CreateRefreshTokenRequest is request model for create refresh token.

type Payload

type Payload struct {
	UserID      int64
	RefreshUUID string
}

Payload is entity for token payload.

Jump to

Keyboard shortcuts

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