Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationContext ¶
type ApplicationContext struct { Components map[string]interface{} Configuration *config.CommonConfiguration }
The context of goze application instance
func (*ApplicationContext) GetComponent ¶
func (c *ApplicationContext) GetComponent(name string) interface{}
func (*ApplicationContext) Inject ¶
func (c *ApplicationContext) Inject()
func (*ApplicationContext) With ¶
func (c *ApplicationContext) With(component interface{}) *ApplicationContext
type Configer ¶
type Configer interface {
Config(cfg *config.CommonConfiguration) interface{}
}
type Controller ¶
type Controller interface { //implement this yourself Mapping(server *server.RestServer) }
Click to show internal directories.
Click to hide internal directories.