Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct {
// contains filtered or unexported fields
}
func (*BaseController) App ¶
func (C *BaseController) App() di.AppInterface
func (*BaseController) GetContext ¶
func (C *BaseController) GetContext() interface{}
func (*BaseController) Run ¶
func (C *BaseController) Run() error
func (*BaseController) SetContainer ¶
func (C *BaseController) SetContainer(app di.AppInterface) Controller
func (*BaseController) SetContext ¶
func (C *BaseController) SetContext(context interface{}) Controller
type CLIController ¶
type CLIController struct { BaseController // contains filtered or unexported fields }
func (*CLIController) GetContext ¶
func (C *CLIController) GetContext() interface{}
func (*CLIController) Run ¶
func (C *CLIController) Run() error
func (*CLIController) SetContext ¶
func (C *CLIController) SetContext(context interface{}) Controller
type Controller ¶
type Controller interface { GetContext() interface{} Run() error SetContainer(di.AppInterface) Controller SetContext(interface{}) Controller }
type HTTPController ¶
type HTTPController struct { BaseController // contains filtered or unexported fields }
func (*HTTPController) GetContext ¶
func (C *HTTPController) GetContext() interface{}
func (*HTTPController) Run ¶
func (C *HTTPController) Run() error
func (*HTTPController) SetContext ¶
func (C *HTTPController) SetContext(context interface{}) Controller
type WebSocketController ¶
type WebSocketController struct { BaseController // contains filtered or unexported fields }
func (*WebSocketController) GetContext ¶
func (C *WebSocketController) GetContext() interface{}
func (*WebSocketController) Run ¶
func (C *WebSocketController) Run() error
func (*WebSocketController) SetContext ¶
func (C *WebSocketController) SetContext(context interface{}) Controller
Source Files ¶
Click to show internal directories.
Click to hide internal directories.