Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cycle2: easy_note to rust, hertz_handler package #84

Open
wants to merge 1 commit into
base: feat/go_to_rust_cycle1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions go_to_rust/easy_note/src/cmd/api/hertz_handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use volo_http::request::ServerRequest;
use volo_http::response::ServerResponse;
use volo_http::server::response::IntoResponse;
use volo_http::json::Json;
use serde_json;

// Ping函数用于处理传入的HTTP请求,并返回一个JSON响应。
pub async fn ping(
Expand Down
Loading