add gateway object
This commit is contained in:
parent
c640fd5a5a
commit
3be962146b
|
@ -6,9 +6,17 @@ use crate::URLBundle;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
/**
|
||||||
|
The [`Instance`] what you will be using to perform all sorts of actions on the Spacebar server.
|
||||||
|
*/
|
||||||
pub struct Instance {
|
pub struct Instance {
|
||||||
main_url: String,
|
main_url: String,
|
||||||
urls: URLBundle,
|
urls: URLBundle,
|
||||||
instance_info: InstancePoliciesSchema,
|
instance_info: InstancePoliciesSchema,
|
||||||
requester: LimitedRequester,
|
requester: LimitedRequester,
|
||||||
|
gateway: Gateway,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl Instance {
|
||||||
|
pub fn new() {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue