iotCore

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publish

func Publish(topic string, payload []byte) error

Types

type CertificateFiles added in v1.0.16

type CertificateFiles struct {
	CertPath   string
	KeyPath    string
	CaCertPath string
}

type Client

type Client interface {
	Update(thing string, msg interface{}) error
	Get(thing string) ([]byte, error)
	Publish(topic string, msg interface{}) error
}

type Credentials added in v1.0.16

type Credentials struct {
	AccessKeyId     string `json:"accessKeyId"`
	SecretAccessKey string `json:"secretAccessKey"`
	SessionToken    string `json:"sessionToken"`
	Expiration      string `json:"expiration"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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