Documentation ¶
Index ¶
- type MainController
- type MessageController
- func (c *MessageController) SendFile(context *macaron.Context, model api.SendFileRequestModel)
- func (c *MessageController) SendImage(context *macaron.Context, model api.SendImageRequestModel)
- func (c *MessageController) SendText(context *macaron.Context, model api.SendTextRequestModel)
- func (c *MessageController) SendVideo(context *macaron.Context, model api.SendVideoRequestModel)
- func (c *MessageController) SendVoice(context *macaron.Context, model api.SendVoiceRequestModel)
- type UsersController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MainController ¶
type MainController struct { }
func NewMainController ¶
func NewMainController() *MainController
func (*MainController) Index ¶
func (c *MainController) Index(context *macaron.Context)
func (*MainController) RedirectHome ¶
func (c *MainController) RedirectHome(context *macaron.Context)
type MessageController ¶
type MessageController struct {
// contains filtered or unexported fields
}
func NewMessageController ¶
func NewMessageController(macaronapp *macaron.Macaron, injector *injects.BasicInject) *MessageController
func (*MessageController) SendFile ¶
func (c *MessageController) SendFile(context *macaron.Context, model api.SendFileRequestModel)
func (*MessageController) SendImage ¶
func (c *MessageController) SendImage(context *macaron.Context, model api.SendImageRequestModel)
func (*MessageController) SendText ¶
func (c *MessageController) SendText(context *macaron.Context, model api.SendTextRequestModel)
func (*MessageController) SendVideo ¶
func (c *MessageController) SendVideo(context *macaron.Context, model api.SendVideoRequestModel)
func (*MessageController) SendVoice ¶
func (c *MessageController) SendVoice(context *macaron.Context, model api.SendVoiceRequestModel)
type UsersController ¶
type UsersController struct { }
func NewUsersController ¶
func NewUsersController() *UsersController
func (*UsersController) DeleteBotUser ¶
func (c *UsersController) DeleteBotUser(context *macaron.Macaron)
func (*UsersController) GetAllBotUser ¶
func (c *UsersController) GetAllBotUser(context *macaron.Macaron)
Click to show internal directories.
Click to hide internal directories.