mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e5d28115ee
- all changes here are attributed to difference in behaviour between, namely: - resolution of secondary test dependencies - prunning of non-Go files Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
.gitignore | ||
constants.go | ||
doc.go | ||
ipvs.go | ||
LICENSE | ||
netlink.go | ||
README.md |
ipvs - networking for containers
ipvs provides a native Go implementation for communicating with IPVS kernel module using a netlink socket.
Using ipvs
import (
"log"
"github.com/moby/ipvs"
)
func main() {
handle, err := ipvs.New("")
if err != nil {
log.Fatalf("ipvs.New: %s", err)
}
svcs, err := handle.GetServices()
if err != nil {
log.Fatalf("handle.GetServices: %s", err)
}
}
Contributing
Want to hack on ipvs? Docker's contributions guidelines apply.
Copyright and license
Code and documentation copyright 2015 Docker, inc. Code released under the Apache 2.0 license. Docs released under Creative commons.