domain

package
v0.0.0-...-f4a3ab8 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RepoSyncStatusDone    = repoSyncStatus(repoSyncStatusDone)
	RepoSyncStatusRunning = repoSyncStatus(repoSyncStatusRunning)
)

Functions

This section is empty.

Types

type Account

type Account interface {
	Account() string
}

Account

func NewAccount

func NewAccount(v string) (Account, error)

type RepoSyncLock

type RepoSyncLock struct {
	Id         string
	Owner      Account
	RepoId     string
	Status     RepoSyncStatus
	Version    int
	LastCommit string
}

type RepoSyncStatus

type RepoSyncStatus interface {
	RepoSyncStatus() string
	IsDone() bool
}

RepoSyncStatus

func NewRepoSyncStatus

func NewRepoSyncStatus(s string) (RepoSyncStatus, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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