Skip to content

Commit ef0f8e3

Browse files
committed
fix: secret interface docs
1 parent e978106 commit ef0f8e3

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/lib.rs

+8-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ pub use http_client::send_request;
1111
#[doc(hidden)]
1212
pub use crate::exports::gcore::fastedge::http_handler;
1313
use crate::gcore::fastedge::http::{Error as HttpError, Method, Request, Response};
14-
#[doc(hidden)]
15-
pub use crate::gcore::fastedge::secret;
14+
1615

1716

1817
/// Implementation of Outbound HTTP component
@@ -32,12 +31,18 @@ wit_bindgen::generate!({
3231
pub_export_macro: true,
3332
});
3433

35-
34+
/// Helper functions for dictionary interface
3635
pub mod dictionary {
3736
#[doc(inline)]
3837
pub use crate::gcore::fastedge::dictionary::get;
3938
}
4039

40+
/// Helper functions for secret interface
41+
pub mod secret {
42+
#[doc(inline)]
43+
pub use crate::gcore::fastedge::secret::get;
44+
}
45+
4146
/// Error type returned by [`send_request`]
4247
#[derive(thiserror::Error, Debug)]
4348
pub enum Error {

0 commit comments

Comments
 (0)