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