Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DigModuleCatchwordProviderAll = []interface{}{ dao.NewCatchwordDao, NewCatchwordModule, }
Functions ¶
Types ¶
type CatchwordModule ¶
type CatchwordModule struct { Dao *dao.CatchwordDao // contains filtered or unexported fields }
系统配置服务
func NewCatchwordModule ¶
func NewCatchwordModule(log *nlog.NLog, dao *dao.CatchwordDao, broker *broker.Broker) *CatchwordModule
func (*CatchwordModule) AddCatchword ¶
func (a *CatchwordModule) AddCatchword(ctx context.Context, model *model2.AddCatchwordModel) (string, error)
func (*CatchwordModule) DeleteCatchword ¶
func (a *CatchwordModule) DeleteCatchword(ctx context.Context, id string) error
func (*CatchwordModule) UpdateCatchword ¶
func (a *CatchwordModule) UpdateCatchword(ctx context.Context, model *model2.UpdateCatchwordModel) error
Click to show internal directories.
Click to hide internal directories.