cmd

package
v0.0.0-...-0ee0443 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func NewCheckCommand

func NewCheckCommand() *cobra.Command

func NewCheckConnectionCommand

func NewCheckConnectionCommand() *cobra.Command

func TestConnection

func TestConnection(address string, options *ConnectOptions) (string, error)

Example of connecting to a STOMP server using an existing network connection.

func TestDefaultConnection

func TestDefaultConnection(address string, options *ConnectOptions) (string, error)

Example of connecting to a STOMP server using an existing network connection.

func TestTLSConnection

func TestTLSConnection(address string, options *ConnectOptions) (string, error)

Example of connecting to a STOMP server using an existing network connection.

Types

type ConnectOptions

type ConnectOptions struct {
	Transport          string
	SkipTls            bool
	Username, Password string
	Timeout            int64
}

Jump to

Keyboard shortcuts

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