Documentation
¶
Index ¶
- Variables
- func AddPost(title string, content string, sort string, tag string, uid int) (*def.Post, error)
- func CreateUser(name string, password string, email string, experience int) error
- func DeletePost(pid int) error
- func GetDanmu(vid int) (string, error)
- func GetPost(id int) (*def.Post, error)
- func GetUser(uid int, email string) (*def.User, error)
- func InitDatabase()
- func LoadConfig()
- func SendDanmu(vid int, danmudata string) error
- func UpdatePost(pid int, title string, content string, sort string, tag string, time string) (*def.Post, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DeletePost ¶
func InitDatabase ¶
func InitDatabase()
func LoadConfig ¶
func LoadConfig()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.