Help us shape the future of Go! Take the 2026 Go Developer Survey

ipvs

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balancer

type Balancer interface {
	SetScheduler(service string, servicePort int, protocol string, scheduler string) error
	SetWeight(service string, servicePort int, destination string, destinationPort int, protocol string, weight int) error
}

type IPVS

type IPVS struct {
	// contains filtered or unexported fields
}

func NewIPVS

func NewIPVS() (*IPVS, error)

func (*IPVS) SetScheduler

func (i *IPVS) SetScheduler(service string, servicePort int, protocol string, scheduler string) error

func (*IPVS) SetWeight

func (i *IPVS) SetWeight(service string, servicePort int, destination string, destinationPort int, protocol string, weight int) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL