kukisesi

package
v0.0.0-...-843929e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelId

func DelId(w http.ResponseWriter)

func GetId

func GetId(r *http.Request) (id string)

Types

type RdsPool

type RdsPool struct {
	redis.Pool
}

func (*RdsPool) Del

func (p *RdsPool) Del(key string) (err error)

func (*RdsPool) Get

func (p *RdsPool) Get(key string) ([]byte, error)

func (*RdsPool) GetRange

func (p *RdsPool) GetRange(key string, bgn, end int) ([]byte, error)

func (*RdsPool) NewSession

func (p *RdsPool) NewSession(w http.ResponseWriter, val []byte, exp time.Time)

func (*RdsPool) Set

func (p *RdsPool) Set(key string, val []byte) (err error)

func (*RdsPool) SetRange

func (p *RdsPool) SetRange(key string, offset int, val []byte) (err error)

Jump to

Keyboard shortcuts

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