msgqueue

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Msgqueue

type Msgqueue interface {
	governor.Service
	SubscribeQueue(queueid, queuegroup string, worker func(msgdata []byte)) (Subscription, *governor.Error)
	Publish(queueid string, msgdata []byte) *governor.Error
	Close() *governor.Error
}

Msgqueue is a service wrapper around a nats streaming queue client instance

func New

New creates a new cache service

type Subscription

type Subscription interface {
	Close() *governor.Error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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