license and readme updates

This commit is contained in:
Naitik Shah 2013-11-05 17:07:08 -08:00
parent bb439ce0e5
commit fea22b9055
6 changed files with 12 additions and 12 deletions

View File

@ -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"

View File

@ -13,7 +13,7 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/daaku/go.grace" "github.com/ParsePlatform/go.grace"
) )
var ( var (

View File

@ -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",
} }
) )

View File

@ -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 {

View File

@ -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.

View File

@ -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