messaging

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GcpPubSubProvider

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

func (GcpPubSubProvider) Init

func (provider GcpPubSubProvider) Init() error

func (GcpPubSubProvider) PublishMessage

func (provider GcpPubSubProvider) PublishMessage(messagingInfo *MessagingInfo) error

type MessagingInfo

type MessagingInfo struct {
	Message string
}

type NotUseProvider

type NotUseProvider struct{}

func (NotUseProvider) Init

func (provider NotUseProvider) Init() error

func (NotUseProvider) PublishMessage

func (provider NotUseProvider) PublishMessage(mi *MessagingInfo) error

type NsqProvider added in v0.8.2

type NsqProvider struct{}

func (NsqProvider) Init added in v0.8.2

func (provider NsqProvider) Init() error

func (NsqProvider) PublishMessage added in v0.8.2

func (provider NsqProvider) PublishMessage(mi *MessagingInfo) error

type Provider

type Provider interface {
	Init() error
	PublishMessage(*MessagingInfo) error
}

func GetMessagingProvider

func GetMessagingProvider() Provider

Jump to

Keyboard shortcuts

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