package balancer

  1. Overview
  2. Docs

Parameters

Signature

val update : t -> Stdlib__Set.Make(Node).t -> elt Lwt.t
val from_src : t -> Stdlib__Set.Make(Node).t React.S.t -> t
val of_nodes : Node.t list -> t
val add_node : t -> Node.t -> elt Lwt.t
val rm_node : t -> Node.t -> elt Lwt.t
val nodes : t -> Node.t list Lwt.t
type state = Serverset.Nodes.t
val pick : state -> param -> peer Lwt.t
val use : state -> param -> (Node.t -> 'a Lwt.t) -> 'a Lwt.t
OCaml

Innovation. Community. Security.