syncer

package
v0.0.0-...-9e57356 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL