Documentation ¶
Index ¶
- func AddCredential(loginName string, pwd string) error
- func AddNewComments(vid string, aid string, content string) error
- func AddNewVideo(aid int, name string) (*defs.VideoInfo, error)
- func DeleteSession(sid string) error
- func DeleteUser(loginName string, pwd string) error
- func GetUserCredential(loginName string) (string, error)
- func InsertSession(sid string, ttl int64, uname string) error
- func ListComments(videoId string, from int, to int) ([]*defs.Comments, error)
- func RetrieveAllSession() (*sync.Map, error)
- func RetrieveSession(sid string) (*defs.SimpleSession, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCredential ¶
func DeleteSession ¶
func DeleteUser ¶
func GetUserCredential ¶
func RetrieveAllSession ¶
func RetrieveSession ¶
func RetrieveSession(sid string) (*defs.SimpleSession, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.