global

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DatabaseSettings *config.DatabaseSetting
	APPSettings      *config.AppSetting
	ServerSettings   *config.ServerSetting
	EmailSettings    *config.EmailSetting
	SmsSettings      *config.SmsSetting
	JwtSettings      *config.JWTSetting
)
View Source
var DBEngine *gorm.DB
View Source
var SmsClient *alibaba.Client
View Source
var Tracer opentracing.Tracer

Functions

This section is empty.

Types

type Globals

type Globals struct{}

func NewGlobal

func NewGlobal() *Globals

func (Globals) GetJWTExpireTime

func (g Globals) GetJWTExpireTime() int64

func (Globals) GetJWTIssuer

func (g Globals) GetJWTIssuer() string

func (Globals) GetJWTSecret

func (g Globals) GetJWTSecret() []byte

Jump to

Keyboard shortcuts

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