Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller has access to all services via services.Container. It is responsbile for the core business logic of utilizing all services in conjunction with one another.
func NewController ¶
func NewController(c *services.Container) Controller
NewController creates an instance of a Controller, given a reference to a Container.
func (*Controller) Run ¶
func (c *Controller) Run(errChan chan error)
Run registers all the discord command handlers, opens a websocket connection, and begins execution.
Click to show internal directories.
Click to hide internal directories.