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: 0

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