Documentation ¶
Index ¶
- func NewSimpleCommandModule(bot *roll.Bot, dbBucket storm.Node) (roll.Module, error)
- type SimpleCommand
- type SimpleCommandList
- type SimpleCommandModule
- type SimpleCommandService
- func (s *SimpleCommandService) All(r *http.Request, id *int, g *SimpleCommandList) error
- func (s *SimpleCommandService) Del(r *http.Request, id *int, ret *int) error
- func (s *SimpleCommandService) Get(r *http.Request, id *int, g *SimpleCommand) error
- func (s *SimpleCommandService) New(r *http.Request, g *SimpleCommand, id *int) error
- func (s *SimpleCommandService) Update(r *http.Request, g *SimpleCommand, id *int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SimpleCommand ¶
type SimpleCommandList ¶
type SimpleCommandList struct {
Commands []SimpleCommand `json :"commands"`
}
type SimpleCommandModule ¶
type SimpleCommandModule struct {
// contains filtered or unexported fields
}
func (*SimpleCommandModule) GetRPCService ¶
func (m *SimpleCommandModule) GetRPCService() interface{}
func (*SimpleCommandModule) Start ¶
func (m *SimpleCommandModule) Start() error
func (*SimpleCommandModule) Stop ¶
func (m *SimpleCommandModule) Stop() error
type SimpleCommandService ¶
type SimpleCommandService struct {
// contains filtered or unexported fields
}
func NewSimpleCommandService ¶
func NewSimpleCommandService(module *SimpleCommandModule) *SimpleCommandService
func (*SimpleCommandService) All ¶
func (s *SimpleCommandService) All(r *http.Request, id *int, g *SimpleCommandList) error
func (*SimpleCommandService) Get ¶
func (s *SimpleCommandService) Get(r *http.Request, id *int, g *SimpleCommand) error
func (*SimpleCommandService) New ¶
func (s *SimpleCommandService) New(r *http.Request, g *SimpleCommand, id *int) error
func (*SimpleCommandService) Update ¶
func (s *SimpleCommandService) Update(r *http.Request, g *SimpleCommand, id *int) error
Click to show internal directories.
Click to hide internal directories.