sync

package
v0.0.0-...-95b8741 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownLoginOutcome = errors.New("unknown login outcome")

Functions

This section is empty.

Types

type BackendSynchronizer

type BackendSynchronizer struct {
	AuthClient   pbBackend.AuthServiceClient
	MemberClient pbBackend.MemberServiceClient
	CardClient   pbBackend.CardServiceClient

	Repository Repository
	Logger     *slog.Logger

	ApiKey string
}

func (*BackendSynchronizer) Synchronize

func (b *BackendSynchronizer) Synchronize(ctx context.Context) error

type PageResponse

type PageResponse interface {
	GetNextPageToken() string
}

type Repository

type Repository interface {
	Replace(members []*pbBackend.Member, cards []*pbBackend.Card)
}

Jump to

Keyboard shortcuts

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