Documentation
¶
Index ¶
Constants ¶
View Source
const (
ReplayFileURL = "/api/v2/replay/sessions/%s/task/"
)
View Source
const UserProfileURL = "/api/v1/users/profile/"
Variables ¶
This section is empty.
Functions ¶
func StructToMapString ¶
Types ¶
type Client ¶
type Client struct { BaseURL string // contains filtered or unexported fields }
func (*Client) CreateReplayTask ¶
type ProfileAuth ¶
type ReplayMeta ¶
type ReplayMeta struct { SessionId string `json:"session_id"` ComponentType string `json:"component_type"` FileType string `json:"file_type"` SessionDate string `json:"session_date"` // 格式是 "2006-01-02" MaxFrame int `json:"max_frame"` Width int `json:"width"` Height int `json:"height"` Bitrate int `json:"bitrate"` // 1 或者 2 }
type Task ¶
type Task struct { Id string `json:"id"` RootDir string `json:"root_dir"` DateCreated string `json:"date_created"` SessionId string `json:"session_id"` ComponentType string `json:"component_type"` FileType string `json:"file_type"` SessionDate string `json:"session_date"` // 格式是 "2006-01-02" MaxFrame int `json:"max_frame"` Width int `json:"width"` Height int `json:"height"` Bitrate int `json:"bitrate"` ReplayMp4Path string `json:"replay_mp4_path"` ReplayPath string `json:"replay_path"` Status string `json:"status"` Error string `json:"error"` }
Click to show internal directories.
Click to hide internal directories.