newrelic

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled() bool

func NewPublisherRegister

func NewPublisherRegister() ginats.PublisherMiddleware

func SubscriberRegister

func SubscriberRegister(msgHandler nats.MsgHandler) nats.MsgHandler

Types

type PublisherRegister

type PublisherRegister struct {
}

func (*PublisherRegister) After

func (p *PublisherRegister) After(ctx context.Context) error

func (*PublisherRegister) Before

func (p *PublisherRegister) Before(ctx context.Context, conn *nats.Conn, msg *nats.Msg) (context.Context, error)

Jump to

Keyboard shortcuts

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