token

package
v0.0.0-...-9b40e8a Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DATABASE_FILE_NAME = "token.db"
View Source
const SYSTEM_TABLE_NAME = ".system.token"
View Source
const TOKEN_KEY_NAME = "token"

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenService

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

func New

func New() *TokenService

func (*TokenService) Close

func (service *TokenService) Close() error

func (*TokenService) CreateSystemTable

func (service *TokenService) CreateSystemTable() error

func (*TokenService) GetToken

func (service *TokenService) GetToken() (uint64, fmt.Stringer)

func (*TokenService) Increment

func (service *TokenService) Increment() (uint64, fmt.Stringer)

func (*TokenService) Listen

func (service *TokenService) Listen() error

Jump to

Keyboard shortcuts

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