provider

package
v0.0.0-...-fae0b3d Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

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

func NewOptions

func NewOptions(server *http.Server, middlewares *middleware.Middlewares) (Options, error)

type Publisher

type Publisher interface {
	Publish(b []byte)
}

func NewPublisher

func NewPublisher(dst string, params any, opts Options) (Publisher, error)

type Subscriber

type Subscriber interface {
	Subscribe(event chan<- []byte) error
}

func NewSubscriber

func NewSubscriber(src string, params any, opts Options) (Subscriber, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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