grpc_pubsub_broker

package module
v0.0.0-...-9c03a4b Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

grpc-pubsub-broker

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broke

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

func (*Broke) Accept

func (b *Broke) Accept(conn redcon.Conn) bool

func (*Broke) Close

func (b *Broke) Close(conn redcon.Conn, err error) error

func (*Broke) Handler

func (b *Broke) Handler(conn redcon.Conn, cmd redcon.Command)

func (*Broke) Publish

func (b *Broke) Publish(i interface{}) error

func (*Broke) Run

func (b *Broke) Run() error

func (*Broke) Subscribe

func (b *Broke) Subscribe(i interface{}) error

type Broker

type Broker interface {
	Run() error
	Close(conn redcon.Conn, err error) error
	Publish(interface{}) error
	Subscribe(interface{}) error
	Handler(conn redcon.Conn, cmd redcon.Command)
	Accept(conn redcon.Conn) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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