Documentation ¶
Index ¶
- type SettingController
- type SettingDaoImpl
- func (inst *SettingDaoImpl) Find(id dxo.SettingID) (*entity.Setting, error)
- func (inst *SettingDaoImpl) FindByName(name string) (*entity.Setting, error)
- func (inst *SettingDaoImpl) Get(name string, def *entity.Setting) *entity.Setting
- func (inst *SettingDaoImpl) Insert(o *entity.Setting) (*entity.Setting, error)
- func (inst *SettingDaoImpl) ListAll() ([]*entity.Setting, error)
- func (inst *SettingDaoImpl) Put(name string, o1 *entity.Setting)
- func (inst *SettingDaoImpl) Remove(id dxo.SettingID) error
- func (inst *SettingDaoImpl) Update(id dxo.SettingID, o1 *entity.Setting) (*entity.Setting, error)
- type SettingServiceImpl
- func (inst *SettingServiceImpl) GetLifeRegistration() *application.LifeRegistration
- func (inst *SettingServiceImpl) GetSettings() (*dto.Settings, error)
- func (inst *SettingServiceImpl) GetString(name, defaultValue string) string
- func (inst *SettingServiceImpl) ListAll() map[string]string
- func (inst *SettingServiceImpl) PutSettings(o *dto.Settings) error
- func (inst *SettingServiceImpl) PutString(name, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SettingController ¶
type SettingController struct { markup.RestController `class:"rest-controller"` SettingService service.SettingService `inject:"#SettingService"` Responder glass.MainResponder `inject:"#glass-main-responder"` }
SettingController Settings 控制器
func (*SettingController) Init ¶
func (inst *SettingController) Init(ec glass.EngineConnection) error
Init 初始化
type SettingDaoImpl ¶
type SettingDaoImpl struct { markup.Component `id:"SettingDAO"` Agent dbagent.GormDBAgent `inject:"#GormDBAgent"` UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"` }
SettingDaoImpl ...
func (*SettingDaoImpl) FindByName ¶
func (inst *SettingDaoImpl) FindByName(name string) (*entity.Setting, error)
FindByName ...
func (*SettingDaoImpl) ListAll ¶
func (inst *SettingDaoImpl) ListAll() ([]*entity.Setting, error)
ListAll ...
func (*SettingDaoImpl) Put ¶
func (inst *SettingDaoImpl) Put(name string, o1 *entity.Setting)
Put ...
type SettingServiceImpl ¶
type SettingServiceImpl struct { markup.Component `id:"SettingService" class:"life" ` SettingDAO dao.SettingDAO `inject:"#SettingDAO"` }
SettingServiceImpl ...
func (*SettingServiceImpl) GetLifeRegistration ¶
func (inst *SettingServiceImpl) GetLifeRegistration() *application.LifeRegistration
GetLifeRegistration ...
func (*SettingServiceImpl) GetSettings ¶
func (inst *SettingServiceImpl) GetSettings() (*dto.Settings, error)
GetSettings ...
func (*SettingServiceImpl) GetString ¶
func (inst *SettingServiceImpl) GetString(name, defaultValue string) string
GetString ...
func (*SettingServiceImpl) ListAll ¶
func (inst *SettingServiceImpl) ListAll() map[string]string
ListAll ...
func (*SettingServiceImpl) PutSettings ¶
func (inst *SettingServiceImpl) PutSettings(o *dto.Settings) error
PutSettings ...
func (*SettingServiceImpl) PutString ¶
func (inst *SettingServiceImpl) PutString(name, value string)
PutString ...
Click to show internal directories.
Click to hide internal directories.