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

'rpc: can't find service MongoProxy.FindOne' #30

Closed
Maplexc opened this issue Nov 6, 2020 · 2 comments
Closed

'rpc: can't find service MongoProxy.FindOne' #30

Maplexc opened this issue Nov 6, 2020 · 2 comments

Comments

@Maplexc
Copy link

Maplexc commented Nov 6, 2020

hyperf 2.0, gotask v2.2.3, 運行報錯:error 'rpc: can't find service MongoProxy.FindOne' on 'Hyperf\GoTask\Relay\CoroutineSocketRelay'

@Reasno
Copy link
Member

Reasno commented Nov 6, 2020

你的go代码里需要自行调用gotask的mongo client,gotask本身并没有提供封装。

gotask是一个通用php-go IPC框架 并没有默认启用mongo模块。

@Reasno Reasno closed this as completed Nov 6, 2020
@Reasno
Copy link
Member

Reasno commented Nov 6, 2020

可以参考https://github.com/Reasno/fastmongo

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

2 participants