nonce

package
v0.0.0-...-ae67dfe Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Prefix = "nonce."

Variables

This section is empty.

Functions

This section is empty.

Types

type Nonce

type Nonce struct {
	//Ctx        context.Context
	CacheClient *memcache.Client
}

func New

func New(ac core.AppContext) *Nonce

func (*Nonce) FindByKey

func (n *Nonce) FindByKey(key string) (*NonceData, error)

func (*Nonce) SetByKey

func (n *Nonce) SetByKey(key string, i interface{}) error

type NonceData

type NonceData struct {
	Nonce string
}

Jump to

Keyboard shortcuts

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