yaml-rpc-0.1: Simple library for network (TCP/IP) YAML RPC
Source code
Contents
Index
Network.YAML.Balancer
Synopsis
type
Server
= (
ByteString
,
Int
)
selectRandom
:: [(
ByteString
,
Server
,
Int
)] ->
ByteString
->
IO
Server
Documentation
type
Server
= (
ByteString
,
Int
)
Source
selectRandom
Source
:: [(
ByteString
,
Server
,
Int
)]
(Service name, (hostname, port number), priority)
->
ByteString
Service name
->
IO
Server
Select random server
Produced by
Haddock
version 2.6.1