Documentation ¶
Index ¶
- Variables
- func GetOzone(w http.ResponseWriter, req *http.Request)
- func GetVideoSlice(w http.ResponseWriter, req *http.Request)
- func GetVideoSliceCache(w http.ResponseWriter, req *http.Request)
- func PrepareSharedVideoFileCache(w http.ResponseWriter, req *http.Request)
- func PrepareVideoFileCache(w http.ResponseWriter, req *http.Request)
- func StartHTTPServ(ctx context.Context)
- type OzoneInfo
- type StreamInfo
- type StreamInfoRequest
- type StreamInfoResponse
- type StreamReqBody
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //TODO to be replaced by other map implementation that has similar feature RequestInfoMap = utils.NewAutoCleanMap(1 * time.Hour) )
Functions ¶
func GetVideoSlice ¶
func GetVideoSlice(w http.ResponseWriter, req *http.Request)
func GetVideoSliceCache ¶ added in v0.11.9
func GetVideoSliceCache(w http.ResponseWriter, req *http.Request)
func PrepareSharedVideoFileCache ¶ added in v0.12.0
func PrepareSharedVideoFileCache(w http.ResponseWriter, req *http.Request)
func PrepareVideoFileCache ¶ added in v0.11.9
func PrepareVideoFileCache(w http.ResponseWriter, req *http.Request)
func StartHTTPServ ¶
Types ¶
type StreamInfo ¶
type StreamInfo struct { HeaderFile string `json:"header_file"` FileHash string `json:"file_hash"` SegmentToSliceInfo map[string]*protos.DownloadSliceInfo `json:"segment_to_slice_info"` }
type StreamInfoRequest ¶ added in v0.12.1
type StreamInfoResponse ¶ added in v0.12.1
Click to show internal directories.
Click to hide internal directories.