utils

package
v0.0.0-...-3ca87c7 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FelJwt

type FelJwt struct {
	JwtMiddleware *jwtmiddleware.JWTMiddleware
}

func (*FelJwt) GetJWTUser

func (j *FelJwt) GetJWTUser(tokenString string) *domain.UserJwt

type Pagination

type Pagination struct {
	PerPage     int
	CurrentPage int
	TotalPage   int
	Total       int64
	Offset      int
	Sort        string
	SortList    map[string]string
}

func (*Pagination) ToMeta

func (p *Pagination) ToMeta() domain.MetaPagination

type SortList

type SortList struct {
}

Jump to

Keyboard shortcuts

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