Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationRunner ¶
type ApplicationRunner struct {
Component
}
ApplicationRunner can be called automate when framework boot up
param:
- `order` define call sequence
func (*ApplicationRunner) Order ¶
func (a *ApplicationRunner) Order() int
type AutoConfigure ¶
type AutoConfigure struct {
Component
}
AutoConfigure can auto compile and inject config
param:
- `prefix` define prefix in config file
func (*AutoConfigure) Prefix ¶
func (c *AutoConfigure) Prefix() string
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component is base bean implement
param:
- `name` define bean name
type Controller ¶
type Controller struct {
Component
}
Controller is http request entry and exit
param:
- `group` define prefix handler
func (*Controller) Group ¶
func (c *Controller) Group() string
type FactoryBean ¶
type FactoryBean struct {
Component
}
FactoryBean can produce bean dynamic
param:
- `singleton` define factory bean produce singleton bean or not
func (*FactoryBean) IsSingleton ¶
func (f *FactoryBean) IsSingleton() bool
type FeignClient ¶
type FeignClient struct {
Component
}
func (*FeignClient) Name ¶
func (f *FeignClient) Name() string
func (*FeignClient) Path ¶
func (f *FeignClient) Path() string
func (*FeignClient) Url ¶
func (f *FeignClient) Url() string
type Filter ¶
type Filter struct {
Component
}
Filter is http servlet filter, can optimize request and response
param:
- `order` define filter sequence
- `pattern` define url matching pattern
func (*Filter) UrlPatterns ¶
type Repository ¶
type Repository struct {
Component
}
Repository is persistence layer
param:
- `table` define table
func (*Repository) Table ¶
func (c *Repository) Table() string
type Service ¶
type Service struct {
Component
}
Service is service layer
param:
- `service` define service name