1
0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-09-16 14:18:32 +00:00
cloudkeys-go/main.go
2017-12-28 01:41:37 +00:00

24 lines
378 B
Go

// +build !appengine
package main // import "github.com/Luzifer/cloudkeys-go"
//go:generate go-bindata assets
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)
}