-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implemented serve_rest_api(); still need to remove Supervisor async c…
…hanges
- Loading branch information
Showing
5 changed files
with
141 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#[crate::service(name = "events", dispatch = false, psibase_mod = "crate")] | ||
#[allow(non_snake_case, unused_variables)] | ||
mod service { | ||
fn setSchema(schema: &crate::Schema) { | ||
unimplemented!() | ||
} | ||
fn addIndex( | ||
db_id: crate::DbId, | ||
service: crate::AccountNumber, | ||
event: crate::MethodNumber, | ||
column: u8, | ||
) { | ||
unimplemented!() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#[crate::service(name = "revents", dispatch = false, psibase_mod = "crate")] | ||
#[allow(non_snake_case, unused_variables)] | ||
pub mod revents_interface { | ||
use crate::HttpRequest; | ||
|
||
#[action] | ||
fn serveSys(request: HttpRequest) -> Option<crate::http::HttpReply> { | ||
unimplemented!() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters