websockets

package
v0.0.0-...-e0ce755 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Subscribe

func Subscribe(consumer *kafka.Consumer) func(http.ResponseWriter, *http.Request)

Types

type Hub

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

type Subscriber

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

type Topics

type Topics map[string]struct{}

func (Topics) Slice

func (t Topics) Slice() []string

func (Topics) Validate

func (t Topics) Validate() error

Jump to

Keyboard shortcuts

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