Documentation ¶
Index ¶
- Variables
- func ClientsFileActionsHandler(w http.ResponseWriter, req *http.Request, client structs.Client)
- func DownloadHandler(w http.ResponseWriter, req *http.Request)
- func FileActionsHandler(w http.ResponseWriter, req *http.Request, client structs.Client)
- func FileDownloadHandler(w http.ResponseWriter, req *http.Request, client structs.Client)
- func FilesHandler(w http.ResponseWriter, req *http.Request)
- func IndexHandler(w http.ResponseWriter, req *http.Request)
- func LoginHandler(w http.ResponseWriter, req *http.Request)
- func RenderTemplate(w http.ResponseWriter, tmpl string, data interface{})
- func ServeServerRoutes(port string, pusher *UDPush.Pusher)
- func SignUpHandler(w http.ResponseWriter, req *http.Request)
- func UploadHandler(w http.ResponseWriter, req *http.Request, client structs.Client)
Constants ¶
This section is empty.
Variables ¶
View Source
var Pusher *UDPush.Pusher
View Source
var T *template.Template
Functions ¶
func DownloadHandler ¶
func DownloadHandler(w http.ResponseWriter, req *http.Request)
func FileActionsHandler ¶
func FileDownloadHandler ¶
func FilesHandler ¶
func FilesHandler(w http.ResponseWriter, req *http.Request)
func IndexHandler ¶
func IndexHandler(w http.ResponseWriter, req *http.Request)
func LoginHandler ¶
func LoginHandler(w http.ResponseWriter, req *http.Request)
func RenderTemplate ¶
func RenderTemplate(w http.ResponseWriter, tmpl string, data interface{})
func ServeServerRoutes ¶
func SignUpHandler ¶
func SignUpHandler(w http.ResponseWriter, req *http.Request)
func UploadHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.