Module Octogram.Uri

type global_uri =
  1. | Managed of {
    1. owner : Agent_name.t;
    2. name : string;
    }
  2. | Remote of {
    1. endpoint : string;
    }
val global_uri_of_string : self:Agent_name.t -> string -> global_uri
type agent_uri = private
  1. | Owned of {
    1. name : string;
    }
  2. | Remote of {
    1. endpoint : string;
    }
val agent_uri_of_global_uri : services:(Agent_name.t -> string -> string * int * string option) -> self:Agent_name.t -> global_uri -> agent_uri
val agent_uri_encoding : agent_uri Data_encoding.t