fxpubsub

package
v0.0.0-...-4ef61cc Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FxPubSubModule = fx.Module(
	"pubsub",
	fx.Provide(
		NewFxPubSub,
	),
)

Functions

func NewFxPubSub

func NewFxPubSub(p FxPubSubParam) (*pubsub.Client, error)

Types

type FxPubSubParam

type FxPubSubParam struct {
	fx.In
	LifeCycle      fx.Lifecycle
	Config         *fxconfig.Config
	TracerProvider *trace.TracerProvider
}

type PubSubProbe

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

func NewPubSubProbe

func NewPubSubProbe(config *fxconfig.Config, client *pubsub.Client, logger *fxlogger.Logger) *PubSubProbe

func (*PubSubProbe) Check

func (*PubSubProbe) Name

func (p *PubSubProbe) Name() string

Jump to

Keyboard shortcuts

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