mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
24 lines
473 B
Go
24 lines
473 B
Go
package server
|
|
|
|
import "net/http"
|
|
|
|
func Index(rw http.ResponseWriter, req *http.Request) {
|
|
rw.Write([]byte("index"))
|
|
}
|
|
|
|
func Static(rw http.ResponseWriter, req *http.Request) {
|
|
rw.Write([]byte("static:" + Vars(req)["path"]))
|
|
}
|
|
|
|
func FolderList(rw http.ResponseWriter, req *http.Request) {
|
|
}
|
|
|
|
func Folder(rw http.ResponseWriter, req *http.Request) {
|
|
}
|
|
|
|
func FeedList(rw http.ResponseWriter, req *http.Request) {
|
|
}
|
|
|
|
func Feed(rw http.ResponseWriter, req *http.Request) {
|
|
}
|