Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorRequestBodyParseFailed = ErrResponse{HttpSC: 400, Error: Err{Error: "Request body is not correct", ErrorCode: "001"}} ErrorNotAuthUser = ErrResponse{HttpSC: 401, Error: Err{Error: "User anthentication failed.", ErrorCode: "002"}} ErrorDBError = ErrResponse{HttpSC: 500, Error: Err{Error: "DB ops failed", ErrorCode: "003"}} ErrorInternalFaults = ErrResponse{HttpSC: 500, Error: Err{Error: "Internal service error", ErrorCode: "004"}} )
Functions ¶
This section is empty.
Types ¶
type ErrResponse ¶
type NewComment ¶
type SimpleSession ¶
type UserCredential ¶
requests
type UserSession ¶
type VideosInfo ¶
type VideosInfo struct {
Videos []*VideoInfo `json:"videos"`
}
Click to show internal directories.
Click to hide internal directories.