response

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func (*Handler) Publish

func (this *Handler) Publish(clientId string, user string, topic string, payload []byte, qos int, size float64) (result handler.Result, err error)

func (*Handler) Subscribe

func (this *Handler) Subscribe(clientId string, user string, topic string) (result handler.Result, err error)

type ResponseEnvelope

type ResponseEnvelope struct {
	CorrelationId string                                    `json:"correlation_id"`
	Payload       platform_connector_lib.CommandResponseMsg `json:"payload"`
	Trace         []model.Trace                             `json:"trace,omitempty"`
}

Jump to

Keyboard shortcuts

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