Categorygithub.com/jsmorph/evpat
module
0.0.0-20220204030629-f17b0e9267fe
Repository: https://github.com/jsmorph/evpat.git
Documentation: pkg.go.dev

# README

Event pattern matcher

A naive implementation of Amazon EventBridge event patterns.

Warning: This implemention currently departs from EventBridge patterns in some intentional (and no doubt unintentional) ways. For example, a leaf in a pattern here can be a literal expression (not wrapped in an array). That particular departure is likely a bad idea. This code is subject to sporadic and capricious change.

This repo contains bonus content, which should probably live elsewhere: A toy message bus with a server-sent events (SSE) sse. Yes, SSE seems pretty clunky, but it's reasonably well-supported, simple, and actually supports the basics of what I happen to want right now. Crude command-line executable that subscribes to Redis is cmd/sser.

References

  1. Amazon EventBridge event patterns
  2. Server-sent events (SSE)
  3. Sheens pattern matching
  4. Peter Norvig's patmatch

# Packages

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