nats

package
v0.0.0-...-ba645fd Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliverySubscriber

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

func NewDeliverySubscriber

func NewDeliverySubscriber(natsConn stan.Conn, groupSvc messenger.GroupServicer, routerClient routerProto.RouterServiceClient, gatewayJobClient gatewayProto.JobServiceClient) *DeliverySubscriber

func (*DeliverySubscriber) Shutdown

func (sub *DeliverySubscriber) Shutdown(ctx context.Context) error

func (*DeliverySubscriber) SubscribeDeliverySubject

func (sub *DeliverySubscriber) SubscribeDeliverySubject(ctx context.Context)

type MessagePublisher

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

func NewMessagePublisher

func NewMessagePublisher(natsConn stan.Conn) *MessagePublisher

func (*MessagePublisher) PublishToDeliveryChannel

func (pub *MessagePublisher) PublishToDeliveryChannel(msg *messenger.Message) error

Jump to

Keyboard shortcuts

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