You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll think how to do it, but maybe some method that accept a martini instance, setup the handler and start the server, or other that just return the martini instance and then the programmer can do whatever he wants.
Hah,
I came from .net world and my bot based on Your library is my first golang application.
I'm not sure that my ideas is right.
Bot method that returns reference to martini inside the bot is good idea at first look.
But I afraid that full access to martini can lead to misconfiguration issues.
I see next variants: full access to martini or managed access to martini via wrapper class or wrapper methods inside bot.
I'm not sure but I think that it is good idea to provide more access to martini which works inside bot.
It will allow to create web interface for bot.
Regard,
Roman
The text was updated successfully, but these errors were encountered: