Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "initializer"
ControllerName defines the name of the api controller used for dependency exception
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(ctx gousu.IContext) gousu.IController
NewController creates a new preinitialized instance of Controller
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is the admin api controller
func (*Controller) Health ¶
func (c *Controller) Health() error
func (*Controller) Name ¶
func (c *Controller) Name() string
func (*Controller) Start ¶
func (c *Controller) Start() error
func (*Controller) Stop ¶
func (c *Controller) Stop() error
type IController ¶
type IController interface { gousu.IController }
IController is the interface of the api controller
Click to show internal directories.
Click to hide internal directories.