Versions in this module Expand all Collapse all v0 v0.8.5 Jul 1, 2015 v0.8.4 Jul 1, 2015 Changes in this version + var ErrNoHosts = errors.New("pfs: no hosts found") + func HashResource(resource string) uint64 + func Match(resource, shardDesc string) (bool, error) + func MultiReadCloser(readers ...io.ReadCloser) io.ReadCloser + func Multicast(r *http.Request, etcdKey string) ([]*http.Response, error) + func MulticastHttp(w http.ResponseWriter, r *http.Request, etcdKey string, ret Return) + func ParseShard(shardDesc string) (uint64, uint64, error) + func Route(r *http.Request, etcdKey string, modulos uint64) (io.ReadCloser, error) + func RouteHttp(w http.ResponseWriter, r *http.Request, etcdKey string, modulos uint64) + type Return int + const ReturnAll + const ReturnOne