Documentation ¶
Index ¶
- type NodeList
- type WebHandler
- func (wh *WebHandler) AllUpload(w http.ResponseWriter, r *http.Request)
- func (wh *WebHandler) Close()
- func (wh *WebHandler) DownloadHandler(w http.ResponseWriter, r *http.Request)
- func (wh *WebHandler) GetFileListHandler(w http.ResponseWriter, r *http.Request)
- func (wh *WebHandler) GetNodeCntHandler(w http.ResponseWriter, r *http.Request)
- func (wh *WebHandler) GetStorageInfoHandler(w http.ResponseWriter, r *http.Request)
- func (wh WebHandler) HomeHandler(w http.ResponseWriter, r *http.Request)
- func (wh *WebHandler) PingHandler(w http.ResponseWriter, r *http.Request)
- func (wh *WebHandler) Upload(w http.ResponseWriter, r *http.Request)
- func (wh *WebHandler) UploadHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebHandler ¶
func CreateHandler ¶
func CreateHandler(my_port string, db_path string, bootstrap_node string) *WebHandler
func (*WebHandler) AllUpload ¶
func (wh *WebHandler) AllUpload(w http.ResponseWriter, r *http.Request)
전체 Upload
func (*WebHandler) Close ¶
func (wh *WebHandler) Close()
func (*WebHandler) DownloadHandler ¶
func (wh *WebHandler) DownloadHandler(w http.ResponseWriter, r *http.Request)
func (*WebHandler) GetFileListHandler ¶
func (wh *WebHandler) GetFileListHandler(w http.ResponseWriter, r *http.Request)
func (*WebHandler) GetNodeCntHandler ¶
func (wh *WebHandler) GetNodeCntHandler(w http.ResponseWriter, r *http.Request)
func (*WebHandler) GetStorageInfoHandler ¶
func (wh *WebHandler) GetStorageInfoHandler(w http.ResponseWriter, r *http.Request)
func (WebHandler) HomeHandler ¶
func (wh WebHandler) HomeHandler(w http.ResponseWriter, r *http.Request)
func (*WebHandler) PingHandler ¶
func (wh *WebHandler) PingHandler(w http.ResponseWriter, r *http.Request)
func (*WebHandler) Upload ¶
func (wh *WebHandler) Upload(w http.ResponseWriter, r *http.Request)
단일 Upload
func (*WebHandler) UploadHandler ¶
func (wh *WebHandler) UploadHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.