memory

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store is an in-memory SubscriptionStore.

func New

func New() *Store

New creates an in-memory SubscriptionStore.

func (*Store) Create

func (s *Store) Create(sub webx.Subscription) error

func (*Store) Delete

func (s *Store) Delete(id string) error

func (*Store) Get

func (s *Store) Get(id string) (*webx.Subscription, error)

func (*Store) GetByWorkspace

func (s *Store) GetByWorkspace(workspaceID string) (*webx.Subscription, error)

func (*Store) Update

func (s *Store) Update(sub webx.Subscription) error

Jump to

Keyboard shortcuts

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