add gateway object
This commit is contained in:
parent
c640fd5a5a
commit
3be962146b
|
@ -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() {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue