Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus[T, K comparable, E any] interface { Emitter[T, E] Subscriber[T, E] }
type Edge ¶
type Edge[C, K comparable] struct { Key K Kursor C }
type Emitter ¶
type Emitter[T comparable, E any] interface { Emit(T, E) error }
type Event ¶
type Event[T, C comparable, V any] struct { Topic T Position C Payload V }
type EventLog ¶
type EventLog[T, K, C comparable, E any] interface { EventLog(T) List[K, C, E] }
type EventStore ¶
type GPD ¶
type GPD[K comparable, V any] interface { Get(...K) ([]V, error) Put(K, V) error Delete(K) error }
type Page ¶
type Page[C, K comparable] struct { Edges Edge[C, K] Start C End C Next bool Prev bool }
type Subscriber ¶
type Subscriber[T comparable, E any] interface { Subscribe(T, uint64) Subscription[E] }
type Subscription ¶
Click to show internal directories.
Click to hide internal directories.