Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DetectDeletedSessions ¶
Types ¶
type ConflictingSessions ¶
type PushSummary ¶
type SheetsSyncSource ¶
type SheetsSyncSource struct { Sheet *sheets.Sheet SessionRepository repositories.SessionRepository // contains filtered or unexported fields }
func (*SheetsSyncSource) Push ¶
func (s *SheetsSyncSource) Push(sessions *[]models.Session) (PushSummary, error)
func (*SheetsSyncSource) Type ¶
func (s *SheetsSyncSource) Type() string
type SyncSource ¶
type SyncSource interface { Type() string Pull() ([]models.Session, error) Push(*[]models.Session) (PushSummary, error) }
func NewSource ¶
func NewSource(remoteConfig config.Remote, sessionRepository repositories.SessionRepository) (SyncSource, error)
Click to show internal directories.
Click to hide internal directories.