storage

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func NewStorage

func NewStorage() *Storage

func Singel

func Singel() *Storage

func (*Storage) Add

func (s *Storage) Add(key string, n int)

func (*Storage) Count

func (s *Storage) Count() int

func (*Storage) DeleteData

func (s *Storage) DeleteData(key string)

func (*Storage) GetData

func (s *Storage) GetData(key string) interface{}

func (*Storage) GetInt

func (s *Storage) GetInt(key string) int

func (*Storage) GetInt64

func (s *Storage) GetInt64(key string) int64

func (*Storage) GetString

func (s *Storage) GetString(key string) string

func (*Storage) SetData

func (s *Storage) SetData(key string, val interface{})

Jump to

Keyboard shortcuts

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