memory

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInMemory

func NewInMemory() event.Store

Types

type InMemoryStore

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

func (*InMemoryStore) CreateRendezvous

func (s *InMemoryStore) CreateRendezvous(ctx context.Context, rendezvous *event.Rendezvous) error

func (*InMemoryStore) DeleteRendezvous

func (s *InMemoryStore) DeleteRendezvous(ctx context.Context, key, address string) error

func (*InMemoryStore) ExtendRendezvousExpiry

func (s *InMemoryStore) ExtendRendezvousExpiry(ctx context.Context, key, address string, expiresAt time.Time) error

func (*InMemoryStore) GetRendezvous

func (s *InMemoryStore) GetRendezvous(ctx context.Context, key string) (*event.Rendezvous, error)

Jump to

Keyboard shortcuts

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