Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalancedOutboundPipe ¶
type BalancedOutboundPipe struct { OutboundPipe Balancer loadbalance.Balancer }
func NewBalancedOutboundPipe ¶
func NewBalancedOutboundPipe(pipe *OutboundPipe, balancer loadbalance.Balancer) *BalancedOutboundPipe
func (BalancedOutboundPipe) Pull ¶
func (pipe BalancedOutboundPipe) Pull() ([]byte, error)
type FacadeServer ¶
type FacadeServer struct { Server Name string Address string Port int Cache cache.Cacher Matcher Matcher Errors chan error Logger *logging.Logger }
FacadeServer contains all data and embeddings a Server would need.
func NewFacadeServer ¶
func NewFacadeServer(name string, address string, port int, matcher Matcher) FacadeServer
func (*FacadeServer) GetFromCache ¶
func (server *FacadeServer) GetFromCache(request []byte) []byte
type OutboundPipe ¶
func NewOutboundPipe ¶
func NewOutboundPipe(address []byte) *OutboundPipe
func (OutboundPipe) Pull ¶
func (pipe OutboundPipe) Pull() ([]byte, error)
type RedirectHostMatcher ¶
func (RedirectHostMatcher) Match ¶
func (matcher RedirectHostMatcher) Match(request []byte) Pipe
Click to show internal directories.
Click to hide internal directories.