feline

package
v0.0.0-...-6b129f5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2015 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultFeline = New()
View Source
var Drivers = map[string]Driver{}

Functions

func Commit

func Commit(bal *data.Balancer) error

func Register

func Register(name string, drv Driver)

func SetBase

func SetBase(dir string) error

Types

type Driver

type Driver interface {
	Generate(string, *data.Balancer) error
	Reload() error
}

type Feline

type Feline struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New() *Feline

func (*Feline) Commit

func (f *Feline) Commit(bal *data.Balancer) error

func (*Feline) SetBase

func (f *Feline) SetBase(base string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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