objectstorage_router

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package objectstorage_router provides the default in-memory event router implementing objectstorage.EventHandlerRegisterer; "<Category>:*" matches every subtype within the category, with exact matches taking precedence. It is transport-agnostic — any adapter dispatches parsed events through it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	// contains filtered or unexported fields
}

Router maps object-storage event names to EventHandlers.

func NewRouter

func NewRouter() *Router

func (*Router) Handle

func (r *Router) Handle(e objectstorage.Event) error

func (*Router) Register

func (r *Router) Register(eventName string, h objectstorage.EventHandler)

Jump to

Keyboard shortcuts

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