Documentation ¶
Index ¶
- Variables
- type Database
- func (cc *Database) CreateHash(key string) string
- func (cc *Database) FetchUserAgent(url string)
- func (cc *Database) GOB(data interface{}) []byte
- func (cc *Database) GenerateToken() string
- func (cc *Database) Get(bucket, key string, autocreateBucket bool) (value []byte, err error)
- func (cc *Database) GetAll(bucket string) (res interface{})
- func (cc *Database) GetAssets() (ass map[string]database.Assets)
- func (cc *Database) Init() (err error)
- func (cc *Database) InsertAssetsProvider(opt database.AssetProvider) error
- func (cc *Database) InsertToken(opt database.Token) error
- func (cc *Database) InsertUsers(us database.Users) (err error)
- func (cc *Database) Load() (err error)
- func (cc *Database) Set(bucket, key string, value []byte, autocreateBucket bool) (err error)
- func (cc *Database) UpdateUserAgent()
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAgent = make(map[string]string)
UserAgent -
Functions ¶
This section is empty.
Types ¶
type Database ¶
Database -
func (*Database) InsertAssetsProvider ¶
func (cc *Database) InsertAssetsProvider(opt database.AssetProvider) error
InsertAssetsProvider -
func (*Database) InsertToken ¶
InsertToken -
func (*Database) InsertUsers ¶
InsertUsers -
Click to show internal directories.
Click to hide internal directories.