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

自动注册WorkerId的功能可以提供.net的实现样例吗 #91

Open
tauruscch opened this issue Feb 1, 2024 · 1 comment
Open

Comments

@tauruscch
Copy link

No description provided.

@yitter
Copy link
Owner

yitter commented Feb 5, 2024

你可以用.net来调用动态库。有官方参考实例(C#):
[DllImport("workeridgo.dll", CallingConvention = CallingConvention.StdCall)] private static extern int RegisterOne(string address, string password, int database, string sentinelMasterName, int minWorkerId, int maxWorkerId, int lifeTimeSeconds);

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