system

package
v0.0.0-...-f5b748a Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomString

func RandomString(length int) string

func RandomStringWithCharset

func RandomStringWithCharset(length int, charset string) string

func Session

func Session() *sessionHandler

Types

type RedisConfig

type RedisConfig struct {
	Host     string
	Password string
	Database string
	// contains filtered or unexported fields
}

func Redis

func Redis() *RedisConfig

func (*RedisConfig) Client

func (rc *RedisConfig) Client() *redis.Database

Jump to

Keyboard shortcuts

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