Skip to content

Commit

Permalink
Merge branch 'release/0.5.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
takama committed Jun 24, 2016
2 parents f35500d + 7ca172e commit 9efa9f9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func handleClient(client net.Conn) {
if numbytes == 0 || err != nil {
return
}
client.Write(buf)
client.Write(buf[:numbytes])
}
}

Expand Down Expand Up @@ -182,6 +182,7 @@ func main() {
- [Mark Berner](https://github.com/mark2b)
- [Fatih Kaya](https://github.com/fatihky)
- [Jannick Fahlbusch](https://github.com/jannickfahlbusch)
- [TobyZXJ](https://github.com/tobyzxj)

All the contributors are welcome. If you would like to be the contributor please accept some rules.
- The pull requests will be accepted only in "develop" branch
Expand Down
4 changes: 2 additions & 2 deletions daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.

/*
Package daemon 0.5.1 for use with Go (golang) services.
Package daemon 0.5.2 for use with Go (golang) services.
Package daemon provides primitives for daemonization of golang services.
This package is not provide implementation of user daemon,
Expand Down Expand Up @@ -127,7 +127,7 @@ Example:
if numbytes == 0 || err != nil {
return
}
client.Write(buf)
client.Write(buf[:numbytes])
}
}
Expand Down
2 changes: 2 additions & 0 deletions daemon_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func (windows *windowsRecord) Start() (string, error) {
if err != nil {
return startAction + failed, err
}
return startAction + " completed.", nil
}

// Stop the service
Expand All @@ -84,6 +85,7 @@ func (windows *windowsRecord) Stop() (string, error) {
if err != nil {
return stopAction + failed, err
}
return stopAction + " completed.", nil
}

// Status - Get service status
Expand Down
2 changes: 1 addition & 1 deletion example/myservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func handleClient(client net.Conn) {
if numbytes == 0 || err != nil {
return
}
client.Write(buf)
client.Write(buf[:numbytes])
}
}

Expand Down

0 comments on commit 9efa9f9

Please sign in to comment.