Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationProcessor ¶
type OperationProcessor struct {
// contains filtered or unexported fields
}
OperationProcessor will process document operations in chronological order and create final document during resolution. It uses operation store client to retrieve all operations that are related to requested document.
func New ¶
func New(store OperationStoreClient) *OperationProcessor
New returns new operation processor
type OperationStoreClient ¶
type OperationStoreClient interface { // Get retrieves all operations related to document Get(uniqueSuffix string) ([]batch.Operation, error) // Put storing operation Put(op batch.Operation) error }
OperationStoreClient defines interface for retrieving all operations related to document
Click to show internal directories.
Click to hide internal directories.