Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerModel ¶
type DemoCacheService ¶
func (*DemoCacheService) GetFromCache ¶
func (r *DemoCacheService) GetFromCache(key string) interface{}
func (*DemoCacheService) SaveCache ¶
func (r *DemoCacheService) SaveCache(key, val string) interface{}
type EmployeeService ¶
type EmployeeService struct { bean.Component Repo *repository2.AccountRepository }
func (*EmployeeService) GetAllUsers ¶
func (r *EmployeeService) GetAllUsers() []model2.Account
func (*EmployeeService) GetUserById ¶
func (r *EmployeeService) GetUserById(username string) model2.Account
type RouteService ¶
type RouteService struct { Controllers []component.Controller //使用切片接口类型注入所有实现类 AppName string `value:"application.app_name"` //使用value标签实现配置文件注入 }
func (*RouteService) Apis ¶
func (t *RouteService) Apis() resp.Response
func (*RouteService) Bean ¶
func (t *RouteService) Bean() string
func (*RouteService) Service ¶
func (t *RouteService) Service() string
Click to show internal directories.
Click to hide internal directories.