Documentation ¶
Index ¶
- Constants
- type Service
- func (s *Service) AddCardSetup(card *cardmodel.AddCardSetup, person string, uid int64) (err error)
- func (s *Service) AddTab(c context.Context, param *show.ChannelTabAP, name string, uid int64) (err error)
- func (s *Service) CardSetupList(id int, t string, person string, title string, pn int, ps int) (cPager *cardmodel.SetupPager, err error)
- func (s *Service) DelCardSetup(id int, t string, person string, uid int64) (err error)
- func (s *Service) DeleteTab(id int64, name string, uid int64) (err error)
- func (s *Service) IsValid(id, tagID, sTime int64, eTime int64, priority int) (err error)
- func (s *Service) OfflineTab(id int64, name string, uid int64) (err error)
- func (s *Service) TabList(lp *show.ChannelTabLP) (pager *show.ChannelTabPager, err error)
- func (s *Service) UpdateCardSetup(id int, card *cardmodel.AddCardSetup, person string, uid int64) (err error)
- func (s *Service) UpdateTab(c context.Context, param *show.ChannelTabUP, name string, uid int64) (err error)
Constants ¶
View Source
const ( //TabOnline channel tab online TabOnline = 1 //TabDownline channel tab down line TabDownline = 2 //TabWaitOnline channel tab wait to line TabWaitOnline = 3 //OrderTimeDown channel tab oder by stime desc OrderTimeDown = 1 //OrderTimeUp channel tab oder by stime asc OrderTimeUp = 2 //ActionAddCTab log action ActionAddCTab = "ActAddChannelTab" //ActionUpCTab log action ActionUpCTab = "ActUpChannelTab" //ActionDelCTab log action ActionDelCTab = "ActDelChannelTab" //ActionOfflineCTab log action ActionOfflineCTab = "ActOfflineChannelTab" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is search service
func (*Service) AddCardSetup ¶
AddCardSetup card set up
func (*Service) AddTab ¶
func (s *Service) AddTab(c context.Context, param *show.ChannelTabAP, name string, uid int64) (err error)
AddTab add channel tab
func (*Service) CardSetupList ¶
func (s *Service) CardSetupList(id int, t string, person string, title string, pn int, ps int) (cPager *cardmodel.SetupPager, err error)
CardSetupList card set up
func (*Service) DelCardSetup ¶
DelCardSetup card set up
func (*Service) OfflineTab ¶
OfflineTab offline channel tab
func (*Service) TabList ¶
func (s *Service) TabList(lp *show.ChannelTabLP) (pager *show.ChannelTabPager, err error)
TabList channel tab list
func (*Service) UpdateCardSetup ¶
func (s *Service) UpdateCardSetup(id int, card *cardmodel.AddCardSetup, person string, uid int64) (err error)
UpdateCardSetup card set up
Click to show internal directories.
Click to hide internal directories.