Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpdateHandler ¶
type UpdateHandler struct {
// contains filtered or unexported fields
}
UpdateHandler handles the creation and update of documents.
func New ¶
func New(processor dochandler.Processor, metrics metricsProvider, opts ...Option) *UpdateHandler
New creates a new document update handler.
func (*UpdateHandler) Namespace ¶
func (r *UpdateHandler) Namespace() string
Namespace returns the namespace of the document handler.
func (*UpdateHandler) ProcessOperation ¶
func (r *UpdateHandler) ProcessOperation(operationBuffer []byte, protocolVersion uint64) (*document.ResolutionResult, error)
ProcessOperation validates operation and adds it to the batch.
Click to show internal directories.
Click to hide internal directories.