package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

AddPullMirrorToQueue adds repoID to mirror queue.
AddPushMirrorRemote registers the push mirror remote.
AddPushMirrorToQueue adds the push mirror to the queue.
InitSyncMirrors initializes a go routine to sync the mirrors.
PushToQueue adds the sync request to the queue.
RemovePushMirrorRemote removes the push mirror remote.
StartSyncMirrors starts a go routine to sync the mirrors.
SyncPullMirror starts the sync of the pull mirror and schedules the next run.
SyncPushMirror starts the sync of the push mirror and schedules the next run.
Update checks and updates mirror repositories.
UpdateAddress writes new address to Git repository and database.

# Constants

PullMirrorType for pull mirrors.
PushMirrorType for push mirrors.

# Structs

SyncRequest for the mirror queue.

# Type aliases

SyncType type of sync request.