Documentation ¶
Index ¶
- Constants
- func AddSession(sessionid string, user_id int64) (int64, error)
- func AddTask(user_id int64, content string) (int64, error)
- func AddTodo(user_id int64, content string) (int64, error)
- func AddUser(username, password string) (int64, error)
- func ChangePassword(username, password string) error
- func CheckPassword(username, password string) (interface{}, bool)
- func CheckSession(sessionid string) (interface{}, error)
- func CheckUserName(username string) bool
- func DeleteTodo(todo_id int64) error
- func DoTodo(todo_id int64, do int) error
- func GetAllTodo(user_id int64) ([]orm.Params, error)
- func GetTask(user_id int64) ([]orm.Params, error)
- func GetTodo(user_id int64, is_do, gte bool) ([]orm.Params, error)
- func GetUser(user_id int64) (interface{}, error)
- func SearchTodo(content string) ([]orm.Params, error)
- func UpdateSession(sessionid string) error
- func UpdateTodo(todo_id int64, content string) error
Constants ¶
View Source
const ( EMAIL = "" IS_SUPERUSER = 0 FIRST_NAME = "" LAST_NAME = "" IS_STAFF = 0 IS_ACTIVE = 1 )
View Source
const (
IS_DO = 0
)
Variables ¶
This section is empty.
Functions ¶
func ChangePassword ¶
func CheckPassword ¶
func CheckSession ¶
func CheckUserName ¶
func DeleteTodo ¶
func UpdateSession ¶
func UpdateTodo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.