amqp

package
v1.0.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostCreatedEventSubscriber

func NewPostCreatedEventSubscriber(e endpoint.Endpoint, logger *logrus.Entry) *kitamqp.Subscriber

func NewProfileFollowingCreatedEventSubscriber

func NewProfileFollowingCreatedEventSubscriber(e endpoint.Endpoint, logger *logrus.Entry) *kitamqp.Subscriber

func NewProfileFollowingDeletedEventSubscriber

func NewProfileFollowingDeletedEventSubscriber(e endpoint.Endpoint, logger *logrus.Entry) *kitamqp.Subscriber

func NewUpdateNewsLinesCommandSubscriber

func NewUpdateNewsLinesCommandSubscriber(e endpoint.Endpoint, logger *logrus.Entry) *kitamqp.Subscriber

Types

type Set

type Set struct {
	PostCreatedEventHandler             *kitamqp.Subscriber
	ProfileFollowingCreatedEventHandler *kitamqp.Subscriber
	ProfileFollowingDeletedEventHandler *kitamqp.Subscriber
	UpdateNewsLinesCommandHandler       *kitamqp.Subscriber
}

func New

func New(endpoints endpoints.Set, logger *logrus.Entry) Set

func (Set) Subscribe

func (s Set) Subscribe(channel *amqp.Channel) error

Jump to

Keyboard shortcuts

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