app

package
v0.0.0-...-a136232 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context) (context.Context, error)

func Disconnect

func Disconnect(ctx context.Context) (context.Context, error)

Types

type Pub

type Pub func(event *entities.Event) (*string, error)

func NewPub

func NewPub(ctx context.Context) (Pub, error)

type Sub

type Sub func(sample *entities.Event, queue string, fn xstream.SubscribeFn) error

func NewSub

func NewSub(ctx context.Context) (Sub, error)

Jump to

Keyboard shortcuts

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