license and readme updates
This commit is contained in:
parent
bb439ce0e5
commit
fea22b9055
@ -5,7 +5,7 @@ package main
|
|||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/daaku/go.grace/gracehttp"
|
"github.com/ParsePlatform/go.grace/gracehttp"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/daaku/go.grace"
|
"github.com/ParsePlatform/go.grace"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -16,15 +16,15 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/daaku/go.freeport"
|
"github.com/ParsePlatform/go.freeport"
|
||||||
"github.com/daaku/go.tool"
|
"github.com/ParsePlatform/go.tool"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// Debug logging.
|
// Debug logging.
|
||||||
debugLog = flag.Bool("debug", false, "enable debug logging")
|
debugLog = flag.Bool("debug", false, "enable debug logging")
|
||||||
testserverCommand = &tool.CommandBuild{
|
testserverCommand = &tool.CommandBuild{
|
||||||
ImportPath: "github.com/daaku/go.grace/gracehttp/testserver",
|
ImportPath: "github.com/ParsePlatform/go.grace/gracehttp/testserver",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/daaku/go.grace/gracehttp"
|
"github.com/ParsePlatform/go.grace/gracehttp"
|
||||||
)
|
)
|
||||||
|
|
||||||
type response struct {
|
type response struct {
|
||||||
|
2
license
2
license
@ -1,4 +1,4 @@
|
|||||||
Copyright 2013 Naitik Shah
|
Copyright 2013 Facebook, Inc
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
10
readme.md
10
readme.md
@ -1,4 +1,4 @@
|
|||||||
go.grace [![Build Status](https://secure.travis-ci.org/daaku/go.grace.png)](http://travis-ci.org/daaku/go.grace)
|
go.grace [![Build Status](https://secure.travis-ci.org/ParsePlatform/go.grace.png)](http://travis-ci.org/ParsePlatform/go.grace)
|
||||||
========
|
========
|
||||||
|
|
||||||
Package grace provides a library that makes it easy to build socket
|
Package grace provides a library that makes it easy to build socket
|
||||||
@ -17,11 +17,11 @@ Usage
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
Demo HTTP Server with graceful termination and restart:
|
Demo HTTP Server with graceful termination and restart:
|
||||||
https://github.com/daaku/go.grace/blob/master/gracedemo/demo.go
|
https://github.com/ParsePlatform/go.grace/blob/master/gracedemo/demo.go
|
||||||
|
|
||||||
1. Install the demo application
|
1. Install the demo application
|
||||||
|
|
||||||
go get github.com/daaku/go.grace/gracedemo
|
go get github.com/ParsePlatform/go.grace/gracedemo
|
||||||
|
|
||||||
1. Start it in the first terminal
|
1. Start it in the first terminal
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ Documentation
|
|||||||
-------------
|
-------------
|
||||||
|
|
||||||
`http.Server` graceful termination and restart:
|
`http.Server` graceful termination and restart:
|
||||||
http://godoc.org/github.com/daaku/go.grace/gracehttp
|
http://godoc.org/github.com/ParsePlatform/go.grace/gracehttp
|
||||||
|
|
||||||
`net.Listener` graceful termination and restart:
|
`net.Listener` graceful termination and restart:
|
||||||
http://godoc.org/github.com/daaku/go.grace
|
http://godoc.org/github.com/ParsePlatform/go.grace
|
||||||
|
Loading…
Reference in New Issue
Block a user