pub struct GholaConfig {
pub enabled: bool,
pub stealth: bool,
pub buffer_size: u32,
}Expand description
Ghola sidecar configuration.
Controls whether HTTP requests are routed through the Ghola sidecar for stealth analysis (temporal drift, ghost signing, chain-aware headers).
Ghola is an external Go binary; all fields default to false / sensible
values so existing installations see no behavior change.
Fields§
§enabled: boolWhen true, route HTTP requests through the Ghola sidecar
(127.0.0.1:18789) instead of using reqwest directly.
stealth: boolWhen true (and enabled is true), the sidecar applies
temporal drift and ghost signing to every outgoing request.
buffer_size: u32Read buffer size (in bytes) for handling large response headers.
Passed to the Ghola sidecar which uses it as fasthttp.Client.ReadBufferSize.
Default: 4096. Increase for APIs that return very large headers.
Trait Implementations§
Source§impl Clone for GholaConfig
impl Clone for GholaConfig
Source§impl Debug for GholaConfig
impl Debug for GholaConfig
Source§impl Default for GholaConfig
impl Default for GholaConfig
Source§impl<'de> Deserialize<'de> for GholaConfigwhere
GholaConfig: Default,
impl<'de> Deserialize<'de> for GholaConfigwhere
GholaConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GholaConfig
impl PartialEq for GholaConfig
Source§impl Serialize for GholaConfig
impl Serialize for GholaConfig
impl StructuralPartialEq for GholaConfig
Auto Trait Implementations§
impl Freeze for GholaConfig
impl RefUnwindSafe for GholaConfig
impl Send for GholaConfig
impl Sync for GholaConfig
impl Unpin for GholaConfig
impl UnsafeUnpin for GholaConfig
impl UnwindSafe for GholaConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more