Skip to content

Commit

Permalink
Turn httpgrace and net/http wrapper into a new package
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kucherenko committed Oct 11, 2015
1 parent 599a3f3 commit f291142
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 34 deletions.
3 changes: 2 additions & 1 deletion internal/skeleton/main.go
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/colegion/goal/internal/skeleton/assets/handlers"
"github.com/colegion/goal/internal/skeleton/routes"

"github.com/colegion/contrib/servers/grace"
c "github.com/colegion/goal/config"
)

Expand All @@ -32,7 +33,7 @@ func main() {

// Starting the server.
log.Printf(`Listening on "%s".`, s.Addr)
log.Fatal(serve(s))
log.Fatal(grace.Serve(s))
}

func init() {
Expand Down
18 changes: 0 additions & 18 deletions internal/skeleton/nix.go

This file was deleted.

15 changes: 0 additions & 15 deletions internal/skeleton/win.go

This file was deleted.

0 comments on commit f291142

Please sign in to comment.