1
0
Fork 0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-11-08 22:20:05 +00:00
cloudkeys-go/main.go

24 lines
378 B
Go
Raw Permalink Normal View History

2017-12-28 01:41:37 +00:00
// +build !appengine
2015-07-29 07:01:23 +00:00
package main // import "github.com/Luzifer/cloudkeys-go"
2017-01-22 13:39:50 +00:00
//go:generate go-bindata assets
2015-07-29 07:01:23 +00:00
import (
2017-12-28 01:41:37 +00:00
"context"
2015-07-29 07:01:23 +00:00
"net/http"
)
2017-12-28 01:41:37 +00:00
func getHTTPClient(ctx context.Context) *http.Client {
return &http.Client{}
2015-07-29 07:01:23 +00:00
}
2017-12-28 01:41:37 +00:00
func getContext(r *http.Request) context.Context {
return r.Context()
2015-07-29 07:01:23 +00:00
}
2017-12-28 01:41:37 +00:00
func main() {
initializeStorage()
http.ListenAndServe(cfg.Listen, nil)
2015-07-29 07:01:23 +00:00
}