thatkingguy_auth_service 0.1.0

Example auth service for rust class
Documentation
1
2
3
4
5
6
7
8
9
10
11
12

// when the module does not have sub module, we can put the contents of the module in a separate file and just call the `mod <filename>;`
pub enum Status {
  Connected,
  Interrupted,
}

pub fn connect_to_database() -> Status {
  return Status::Connected;
}

pub fn get_user() {}