infrastructure

package
v0.0.0-...-d386c04 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Infrastructure

type Infrastructure struct {
	Timer                  timer.Timer
	Send                   sender.Send
	Idempotency            idempotency.Idempotency
	CircuitBreaker         circuitbreaker.CircuitBreaker
	DistributedLockManager dlm.Factory
	Authenticator          authenticator.Authenticator
	Stream                 streaming.Stream
	Cache                  cache.Cache
	// contains filtered or unexported fields
}

func New

func New(provider configuration.Provider) (*Infrastructure, error)

func (*Infrastructure) Connect

func (infra *Infrastructure) Connect(ctx context.Context) error

func (*Infrastructure) Disconnect

func (infra *Infrastructure) Disconnect(ctx context.Context) error

func (*Infrastructure) Liveness

func (infra *Infrastructure) Liveness() error

func (*Infrastructure) Readiness

func (infra *Infrastructure) Readiness() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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