Struct consul::Session [] [src]

pub struct Session {
    // some fields omitted
}

Methods

impl Session
[src]

fn new(address: &str) -> Session

fn create(&self, name: String) -> Option<String>

fn renew(&self, session_id: &String) -> bool

fn end(&self, session_id: &String)