Categorygithub.com/tfaller/propchange
modulepackage
0.0.0-20220430212311-c16ce8ffae82
Repository: https://github.com/tfaller/propchange.git
Documentation: pkg.go.dev

# README

propchange

Propchange is/will be a module and service to simply answer the question:

If property X of document Y changes, what other documents are affected by this?

This question sounds simple, but if you have millions of documents from multiple sources, its not that easy.

The module/service has a simple interface. It is planed to have multiple backends to perform this task. Currently only a MySQL backend exists. Also, currently it's just a module, no standalone service.

Features

  • Simple "Detector" interface
  • MySQL backend
  • In-Memory backend

Planned

  • More backends
  • Standalone service
  • SQS integration
  • REST and or other Web API

# Packages

No description provided by the author
No description provided by the author

# Variables

ErrDocAlreadyClosed indicates that the operation failed because the document was already closed.
ErrEmptyFilter indicates that no filter was provied.
ErrInvalidListenerName indicates that a given listener name was invalid.
ErrNoMoreChanges indicates that no more changes were found.

# Structs

ChangeFilter is the filter for that a listener listens.
ErrTooLongName is here to indicate that a document, property or listener name is too long.

# Interfaces

Detector is a service that emits an event if given properties changed of an document.
DocumentOps are operations possible on an open document.
OnChange is an change event.

# Type aliases

No description provided by the author
No description provided by the author