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

server: crate::hoge::build_serverを作る #38

Closed
H1rono opened this issue Jan 22, 2025 · 1 comment
Closed

server: crate::hoge::build_serverを作る #38

H1rono opened this issue Jan 22, 2025 · 1 comment

Comments

@H1rono
Copy link
Member

H1rono commented Jan 22, 2025

fn build_server(this: Arc<Self>) -> WorldServiceServer<Self>
where
Self: Sized,
{
let service = grpc::ServiceImpl::new(this);
WorldServiceServer::new(service)
}

ProvideHogeServiceProvideFugaServiceの2つがないと実装できないserviceもありそう、どうしようかな

@H1rono
Copy link
Member Author

H1rono commented Jan 23, 2025

ProvideMessageService::build_serverSelf: ProvideSessionServiceが必要なので、いっそのことProvideHogeServiceのアイテムにしなくても良さそう

@H1rono H1rono changed the title ProvideHogeService::build_serverを作る server: ProvideHogeService::build_serverを作る Jan 23, 2025
@H1rono H1rono changed the title server: ProvideHogeService::build_serverを作る server: crate::hoge::build_serverを作る Jan 25, 2025
@H1rono H1rono closed this as completed Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant