mqtttest

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: PostgreSQL Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EMQX

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

func NewEMQX

func NewEMQX(ctx context.Context) (*EMQX, error)

NewEMQX creates an emqx container for local testing. Call .URL() on the returned EMQX instance to get the URL to connect to.

func (*EMQX) Container

func (e *EMQX) Container() testcontainers.Container

func (*EMQX) Hostname

func (e *EMQX) Hostname() string

func (*EMQX) Port

func (e *EMQX) Port() int

func (*EMQX) Terminate

func (e *EMQX) Terminate(ctx context.Context) error

func (*EMQX) URL

func (e *EMQX) URL() string

Jump to

Keyboard shortcuts

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