Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Store(ctx context.Context, sync *domain.Sync) (*domain.Sync, error) Delete(ctx context.Context, id int) error Update(ctx context.Context, sync *domain.Sync) (*domain.Sync, error) ListSyncs(ctx context.Context, apiKey string) ([]domain.Sync, error) GetSyncByApiKey(ctx context.Context, apiKey string) (*domain.Sync, error) GetSyncByDeviceID(ctx context.Context, deviceID int) (*domain.Sync, error) SyncData(ctx context.Context, sync *domain.SyncData) (*domain.SyncData, error) }
Click to show internal directories.
Click to hide internal directories.