tree: 00f303cbb9670bf97372145fe4dc44fa6c063df7 [path history] [tgz]
  1. .gitignore
  2. .golangci.yml
  3. constants_linux.go
  4. doc.go
  5. ipvs_linux.go
  6. LICENSE
  7. netlink_linux.go
  8. README.md
vendor/github.com/moby/ipvs/README.md

ipvs - networking for containers

Test GoDoc Go Report Card

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

Copyright 2015 Docker, inc. Code released under the Apache 2.0 license.