Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// inherit BaseController functionality (related to middleware)
*mw.BaseController
// controller dependencies
Config *config.Config `inject:"t"`
Commands Commands `inject:"t"`
}
Controller is responsible for user AUTH operations.
func (*Controller) Get ¶
func (c *Controller) Get(_ context.Context, command string) (interface{}, error)
Get handles os command request.
func (*Controller) Init ¶
func (c *Controller) Init() error
Init user controller (TODO: add middleware for available methods).
Click to show internal directories.
Click to hide internal directories.