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