mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-14 00:42:44 +00:00
21 lines
301 B
Go
21 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)
|
|
}
|