Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Comment ¶
type Comment struct { Mid int `json:"mid"` Vid int `json:"vid"` UserName string `json:"user_name"` Text string `json:"text"` Time time.Time `json:"time"` }
func ListCommentsByVideo ¶
type CommentAdd ¶
func (*CommentAdd) Add ¶
func (m *CommentAdd) Add() error
type Source ¶
func ListSources ¶
type User ¶
func (*User) AddOrUpdateToken ¶
type VideoMeta ¶
type VideoMeta struct { Vid int `json:"vid"` Source string `json:"source"` Title string `json:"title"` Description string `json:"description"` }
func ListVideoMetaByUid ¶
type VideoStream ¶
type VideoStream struct {
// contains filtered or unexported fields
}
func (VideoStream) Close ¶
func (v VideoStream) Close() error
func (*VideoStream) Get ¶
func (v *VideoStream) Get(vid int) (io.ReadSeekCloser, error)
Click to show internal directories.
Click to hide internal directories.