1
0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-09-19 23:52:57 +00:00
cloudkeys-go/main.go
Knut Ahlers 10ad0e238d
Cleanup makefile, import path and bindata generation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-25 12:11:08 +02:00

22 lines
301 B
Go

// +build !appengine
package main
import (
"context"
"net/http"
)
func getHTTPClient(ctx context.Context) *http.Client {
return &http.Client{}
}
func getContext(r *http.Request) context.Context {
return r.Context()
}
func main() {
initializeStorage()
http.ListenAndServe(cfg.Listen, nil)
}