Documentation ¶
Index ¶
- Variables
- func DeleteFilesHandler(w http.ResponseWriter, r *http.Request)
- func GetChunkHandler(w http.ResponseWriter, r *http.Request)
- func GetChunkMetaHandler(w http.ResponseWriter, r *http.Request)
- func GetFilesHandler(w http.ResponseWriter, r *http.Request)
- func NewRouter() *mux.Router
- func PostChunkHandler(w http.ResponseWriter, r *http.Request)
- func PostFilesHandler(w http.ResponseWriter, r *http.Request)
- type Route
- type Routes
Constants ¶
This section is empty.
Variables ¶
View Source
var TokenURI = ""
TokenURI is the address of token server
Functions ¶
func DeleteFilesHandler ¶
func DeleteFilesHandler(w http.ResponseWriter, r *http.Request)
DeleteFilesHandler processes files' DELETE request.
func GetChunkHandler ¶
func GetChunkHandler(w http.ResponseWriter, r *http.Request)
GetChunkHandler processes GET Chunk request.
func GetChunkMetaHandler ¶
func GetChunkMetaHandler(w http.ResponseWriter, r *http.Request)
GetChunkMetaHandler processes GET ChunkMeta request.
func GetFilesHandler ¶
func GetFilesHandler(w http.ResponseWriter, r *http.Request)
GetFilesHandler processes files's GET request.
func PostChunkHandler ¶
func PostChunkHandler(w http.ResponseWriter, r *http.Request)
PostChunkHandler processes POST Chunk request.
func PostFilesHandler ¶
func PostFilesHandler(w http.ResponseWriter, r *http.Request)
PostFilesHandler processes files' POST request.
Types ¶
Click to show internal directories.
Click to hide internal directories.