var searchIndex = {}; searchIndex["consul"] = {"doc":"Rust client libray for [Consul](http://consul.io/) HTTP API","items":[[3,"Agent","consul","Agent can be used to query the Agent endpoints",null,null],[3,"AgentMember","","AgentMember represents a cluster member known to the agent",null,null],[3,"Catalog","","Catalog can be used to query the Catalog endpoints",null,null],[3,"Health","","Health can be used to query the Health endpoints",null,null],[3,"Client","","provides a client to the Consul API",null,null],[12,"agent","","agent endpoint",0,null],[12,"catalog","","catalog endpoint",0,null],[12,"health","","health endpoint",0,null],[12,"keystore","","",0,null],[12,"session","","",0,null],[3,"Keystore","","",null,null],[3,"Session","","",null,null],[3,"Node","","Node represents a node",null,null],[12,"Node","","",1,null],[12,"Address","","",1,null],[3,"Service","","Service represents a service",null,null],[12,"ID","","",2,null],[12,"Service","","",2,null],[12,"Tags","","",2,null],[12,"Port","","",2,null],[3,"HealthService","","HealthService is used for the health service",null,null],[12,"Node","","",3,null],[12,"Service","","",3,null],[3,"RegisterService","","Service represents a service",null,null],[12,"ID","","",4,null],[12,"Name","","",4,null],[12,"Tags","","",4,null],[12,"Port","","",4,null],[12,"Address","","",4,null],[3,"TtlHealthCheck","","",null,null],[12,"ServiceID","","",5,null],[12,"ID","","",5,null],[12,"Name","","",5,null],[12,"Notes","","",5,null],[12,"TTL","","",5,null],[5,"get_string","","",null,null],[11,"encode","","",6,null],[11,"decode","","",6,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"new","","",7,{"inputs":[{"name":"str"}],"output":{"name":"agent"}}],[11,"services","","",7,null],[11,"members","","",7,null],[11,"register","","",7,null],[11,"register_ttl_check","","",7,null],[11,"check_pass","","",7,null],[11,"get_self_name","","",7,null],[11,"get_self_address","","",7,null],[11,"new","","",8,{"inputs":[{"name":"str"}],"output":{"name":"catalog"}}],[11,"services","","",8,null],[11,"get_nodes","","",8,null],[11,"fmt","","",1,null],[11,"encode","","",1,null],[11,"decode","","",1,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",2,null],[11,"encode","","",2,null],[11,"decode","","",2,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"encode","","",3,null],[11,"decode","","",3,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",4,null],[11,"encode","","",4,null],[11,"decode","","",4,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",5,null],[11,"encode","","",5,null],[11,"decode","","",5,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"new","","",9,{"inputs":[{"name":"str"}],"output":{"name":"health"}}],[11,"service","","",9,null],[11,"healthy_nodes_by_service","","",9,null],[11,"get_healthy_nodes","","",9,null],[11,"new","","Constructs a consul client",0,{"inputs":[{"name":"str"}],"output":{"name":"client"}}],[11,"new","","",10,{"inputs":[{"name":"str"}],"output":{"name":"session"}}],[11,"create","","",10,null],[11,"renew","","",10,null],[11,"end","","",10,null],[11,"new","","",11,{"inputs":[{"name":"str"}],"output":{"name":"keystore"}}],[11,"set_key","","",11,null],[11,"acquire_lock","","",11,null],[11,"release_lock","","",11,null],[11,"get_key","","",11,null],[11,"delete_key","","",11,null]],"paths":[[3,"Client"],[3,"Node"],[3,"Service"],[3,"HealthService"],[3,"RegisterService"],[3,"TtlHealthCheck"],[3,"AgentMember"],[3,"Agent"],[3,"Catalog"],[3,"Health"],[3,"Session"],[3,"Keystore"]]}; initSearch(searchIndex);