iot_writer

package
v0.0.345 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BUFFER_SIZE = 1024 * 100

Variables

This section is empty.

Functions

This section is empty.

Types

type IoTWriter

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

func New

func New(client MQTT.Client, topic string) *IoTWriter

func (*IoTWriter) Flush

func (iw *IoTWriter) Flush() error

func (*IoTWriter) Write

func (iw *IoTWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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