add gateway object

This commit is contained in:
bitfl0wer 2023-04-16 23:03:12 +02:00
parent c640fd5a5a
commit 3be962146b
1 changed files with 8 additions and 0 deletions

View File

@ -6,9 +6,17 @@ use crate::URLBundle;
use std::collections::HashMap;
#[derive(Debug)]
/**
The [`Instance`] what you will be using to perform all sorts of actions on the Spacebar server.
*/
pub struct Instance {
main_url: String,
urls: URLBundle,
instance_info: InstancePoliciesSchema,
requester: LimitedRequester,
gateway: Gateway,
}
impl Instance {
pub fn new() {}
}