nats

package
v0.0.0-...-aec1c34 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

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

func NewEventHandler

func NewEventHandler(logger *cl.CustomLogger, nc *nats.EncodedConn, svc service.IAuthNService) *EventHandler

func (*EventHandler) Execute

func (eh *EventHandler) Execute() error

func (*EventHandler) Interrupt

func (eh *EventHandler) Interrupt(err error)

type EventHandlerFuncs

type EventHandlerFuncs struct {
	EventPolicyUpdatedHandler nats.Handler
}

func (*EventHandlerFuncs) GetSubscription

func (ehf *EventHandlerFuncs) GetSubscription(nc *nats.EncodedConn) (subscriptions []*nats.Subscription, err error)

Jump to

Keyboard shortcuts

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