utils

package
v0.0.0-...-cb51c14 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrCheck

func ErrCheck(err error)

func ParseGzip

func ParseGzip(data []byte) ([]byte, error)

func SignByJWT

func SignByJWT(pem string, data string) (string, error)

Types

type RedisUtils

type RedisUtils struct {
	// contains filtered or unexported fields
}

func (*RedisUtils) Close

func (r *RedisUtils) Close()

func (*RedisUtils) ConnectByUrl

func (r *RedisUtils) ConnectByUrl(url string)

func (*RedisUtils) Get

func (r *RedisUtils) Get(key string) (string, error)

func (*RedisUtils) Keys

func (r *RedisUtils) Keys() ([]string, error)

Jump to

Keyboard shortcuts

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