internal

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package internal implements a data manager service definition with additional exported functions for the purpose of testing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DMService

type DMService interface {
	Sync(ctx context.Context, extra map[string]interface{}) error
	Update(ctx context.Context, cfg *config.Config) error
	Close(ctx context.Context) error
	SetSyncerConstructor(fn datasync.ManagerConstructor)
	SetWaitAfterLastModifiedSecs(s int)
	SetModelManagerConstructor(fn model.ManagerConstructor)
}

DMService in the internal package includes additional exported functions relating to the syncing and updating processes in the data manager service. These functions are not exported to the user. This resolves a circular import caused by the inject package.

Jump to

Keyboard shortcuts

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