class Balancer

Defined in:

balancer.cr

Constant Summary

VERSION = "0.3"

Constructors

Instance Method Summary

Constructor Detail

def self.new(listen_host : String, listen_port : Int32, target_host : String, target_ports : Range(Int32, Int32) | Array(Int32), method : Balancer::Method = Method::Sample) #

[View source]

Instance Method Detail

def background_run #

[View source]
def connections_count #

[View source]
def run #

[View source]
def stop! #

[View source]