mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-08 14:10:05 +00:00
23 lines
378 B
Go
23 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)
|
|
}
|