func (b *DummyPool) RouteToServer(i int64) (*Server, error) {
	if b.server == nil {
		return nil, errors.New("Could not route to server.")
	}
	return b.server, nil
}
RouteToServer returns the single server (or an error when no server is set).
package balancer
import (
	"errors"
	"net"
)
type PoolBalancer interface {
	AddServer(*Server)
	RouteToServer(int64) (*Server, error)
}
type Server struct {
	IP           net.IP
	HardwareAddr net.HardwareAddr
}
type DummyPool struct {
	server *Server
}
func NewDummyBalancer() PoolBalancer {
	return &DummyPool{}
}
func (b *DummyPool) AddServer(s *Server) {
	b.server = s
}