From 3be962146b5891c029f23928b1e102fc3553bc98 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Sun, 16 Apr 2023 23:03:12 +0200 Subject: [PATCH] add gateway object --- src/instance.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/instance.rs b/src/instance.rs index b2f6f91..238b778 100644 --- a/src/instance.rs +++ b/src/instance.rs @@ -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() {} }