mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
create permanent gemini client object for page
This commit is contained in:
parent
b76fd41deb
commit
a5633046e1
2 changed files with 21 additions and 6 deletions
14
src/app/browser/window/tab/item/page/client.rs
Normal file
14
src/app/browser/window/tab/item/page/client.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pub struct Client {
|
||||
pub gemini: gemini::Client,
|
||||
}
|
||||
|
||||
impl Client {
|
||||
// Constructors
|
||||
|
||||
/// Create new `Self`
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
gemini: gemini::Client::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue