add gateway object

This commit is contained in:
bitfl0wer 2023-04-16 23:03:12 +02:00
parent ccbe7122fe
commit 5e3fb77911
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
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() {}
}