common.go 211 B

1234567891011121314
  1. package backend
  2. import (
  3. "net"
  4. "github.com/coreos/rudder/pkg/ip"
  5. )
  6. type Backend interface {
  7. Init(extIface *net.Interface, extIP net.IP, ipMasq bool) (ip.IP4Net, int, error)
  8. Run()
  9. Stop()
  10. Name() string
  11. }