Documentation
¶
Index ¶
- Variables
- func AddOne(object Object) (ObjectId string)
- func AddUser(u User) string
- func Delete(ObjectId string)
- func DeleteUser(uid string)
- func GetAll() map[string]*Object
- func GetAllUsers() map[string]*User
- func GetName(params ...interface{}) string
- func Login(username, password string) bool
- func RDSTools_Get(k string) interface{}
- func RDSTools_HGet(k, f string) interface{}
- func RDSTools_HGetAll(f string) interface{}
- func RDSTools_HSet(k, f string, v string)
- func RDSTools_HSetEx(k, f string, v string, ttl int64)
- func RDSTools_Set(k string, v string)
- func RDSTools_SetEx(k string, v string, ttl int64)
- func Strval(value interface{}) string
- func Update(ObjectId string, Score int64) (err error)
- type Object
- type Profile
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Objects map[string]*Object
)
View Source
var RDSTools redistools.RedisDataStore
View Source
var (
UserList map[string]*User
)
Functions ¶
func DeleteUser ¶
func DeleteUser(uid string)
func GetAllUsers ¶
func RDSTools_Get ¶
func RDSTools_Get(k string) interface{}
func RDSTools_HGet ¶
func RDSTools_HGet(k, f string) interface{}
func RDSTools_HGetAll ¶
func RDSTools_HGetAll(f string) interface{}
func RDSTools_HSet ¶
func RDSTools_HSetEx ¶
func RDSTools_Set ¶
func RDSTools_SetEx ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.