Documentation
¶
Index ¶
Constants ¶
View Source
const ( FailureRateLimiterBaseDelay = time.Minute FailureRateLimiterMaxDelay = 30 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoticeSyncer ¶
type NoticeSyncer struct {
// contains filtered or unexported fields
}
NoticeSyncer 教务处通知同步
func InitNoticeSyncer ¶
func InitNoticeSyncer(db *db.Database) *NoticeSyncer
InitNoticeSyncer will init a worker queue
func (*NoticeSyncer) Add ¶
func (ns *NoticeSyncer) Add(key string)
func (*NoticeSyncer) Start ¶
func (ns *NoticeSyncer) Start()
Click to show internal directories.
Click to hide internal directories.