databusutil

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabusHandler

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

DatabusHandler handler

func NewDatabusHandler

func NewDatabusHandler() *DatabusHandler

NewDatabusHandler new handler

func (*DatabusHandler) Close

func (s *DatabusHandler) Close()

Close close

func (*DatabusHandler) GoWatch

func (s *DatabusHandler) GoWatch(bus *databus.Databus, handler func(msg *databus.Message) error)

GoWatch watch with goroutine

func (*DatabusHandler) Watch

func (s *DatabusHandler) Watch(bus *databus.Databus, handler func(msg *databus.Message) error)

Watch watch without goroutine

Jump to

Keyboard shortcuts

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