summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 19:47:20 +0300
committerGitHub <[email protected]>2018-01-28 19:47:20 +0300
commit332f176ea17e25a9837e31ab979c01b627583d26 (patch)
tree5eb23e3baa3ed43fd91df5897bc00b1aad9c1bee /README.md
parent11ff463bbc8a5b573412fcb5104756fcda3dec31 (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index bbc26f43..56d84a55 100644
--- a/README.md
+++ b/README.md
@@ -34,10 +34,10 @@ Examples:
--------
```go
-p, err := NewPool(
+p, err := rr.NewPool(
func() *exec.Cmd { return exec.Command("php", "worker.php", "pipes") },
- NewPipeFactory(),
- Config{
+ rr.NewPipeFactory(),
+ rr.Config{
NumWorkers: uint64(runtime.NumCPU()),
AllocateTimeout: time.Second,
DestroyTimeout: time.Second,