wrapper

package
v1.2.37 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Unlicense Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OK

type OK = okenvelope.T

type Relay added in v1.2.27

type Relay struct {
	store.I
}

func (Relay) Publish added in v1.2.27

func (w Relay) Publish(c cx, evt *event.T) (err er)

func (Relay) QuerySync added in v1.2.27

func (w Relay) QuerySync(c cx, f *filter.T,
	opts ...ws.SubscriptionOption) ([]*event.T, er)

type RelayInterface

type RelayInterface interface {
	Publish(c cx, evt *event.T) er
	QuerySync(c cx, f *filter.T, opts ...ws.SubscriptionOption) ([]*event.T, er)
}

RelayInterface is a wrapper thing that unifies Store and Relay under a common API.

type Req

type Req = *http.Request

type Responder

type Responder = http.ResponseWriter

type SubID

type SubID = subscription.Id

type WS

type WS = *ws.Serv

Jump to

Keyboard shortcuts

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