app

package
v0.0.0-...-971e649 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RefreshTokenExpired = 24 * time.Hour * 3
	AccessTokenExpired  = 2 * time.Hour
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*apputils.ServerUtils
	// contains filtered or unexported fields
}

func NewServer

func NewServer(cfg *config.Config) *Server

func (*Server) Close

func (s *Server) Close()

func (*Server) UseCORS

func (s *Server) UseCORS() gin.HandlerFunc

func (*Server) UseTokenVerify

func (s *Server) UseTokenVerify() gin.HandlerFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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