nonce

package
v0.0.0-...-3240a16 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Nonce

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

Nonce struct holds the nonce value

func (*Nonce) Get

func (n *Nonce) Get() int64

Get retrives the nonce value

func (*Nonce) GetInc

func (n *Nonce) GetInc() int64

GetInc increments and returns the value of the nonce

func (*Nonce) Inc

func (n *Nonce) Inc()

Inc increments the nonce value

func (*Nonce) Set

func (n *Nonce) Set(val int64)

Set sets the nonce value

func (*Nonce) String

func (n *Nonce) String() string

Returns a string version of the nonce

Jump to

Keyboard shortcuts

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