-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
add to switcher the 管理插件的插件 #36
Comments
session.HandlerRegister.GetByName(string).SetConfig(string, interface{}) session.HandlerRegister.GetByName(string).GetConfig(string) interface{} It's that ok for you? |
I prefer to add a local(or remote) memory config store module to manage user configurations, and add a new plugin to do getter or setter things. |
I trust you'd make the best decision, so whatever you decide and implement, I'll use it. Thanks for doing that. |
Sorry, i'll implement the feature this weekend. |
NP. Take your time. Your first proposal is more aiming towards back-end configurations, and I'm glad that you've also planned for the user front-end configurations. 👍 |
Done. Please check the updated source code and README for usages. |
Cool! I'll take a look this weekend -- I was recovering from the jet-lag after a short trip to China... |
Hi @songtianyi,
The new plugin that I'm writting (#34) need more functionalities to
switcher
the 管理插件的插件. So far it supports:Please (consider) adding one more command to it,
config [plugin] more config strings for the plugin
and have a way for the plugin to take the
more config strings for the plugin
and do its own configuration.I need to pass two integers to my plugin for its configuration, which I can take care of it myself when I get the string.
Thanks for consideration!
The text was updated successfully, but these errors were encountered: