Documentation ¶
Overview ¶
Fast and dirty implementation for synchronized file server across replica
Index ¶
Constants ¶
View Source
const (
StoragePath = "./storage/"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface { Index(writer http.ResponseWriter, request *http.Request) HandleUpload(writer http.ResponseWriter, request *http.Request) HandleFileServer(writer http.ResponseWriter, request *http.Request) DropAll(writer http.ResponseWriter, request *http.Request) GetAll(writer http.ResponseWriter, request *http.Request) PeerDiscovery() StartSync() }
Click to show internal directories.
Click to hide internal directories.