pkg

package
v0.0.0-...-d3ac071 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptByAes

func DecryptByAes(dst string) string

DecryptByAes dst

func EncryptByAes

func EncryptByAes(plaintext string) string

EncryptByAes plaintext

func GetAccessToken

func GetAccessToken(name string) string

GetAccessToken name

func NewCacheStore

func NewCacheStore(storage *sync.Map, duration int64) *cacheStore

NewCacheStore (storage *sync.Map, duration int64)

type cacheStore struct {
	Item     *sync.Map
	Duration int64
}

func NewMySQL

func NewMySQL() *mySQL

NewMySQL init mySQL

func NewZapLogger

func NewZapLogger() *zap.Logger

NewZapLogger *zap.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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