iot

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(rawURL string) (*rpc.Client, error)

Types

type Codec

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

func (*Codec) Close

func (c *Codec) Close() error

func (*Codec) Decrypt

func (c *Codec) Decrypt(cipherText []byte) ([]byte, error)

func (*Codec) Encrypt

func (c *Codec) Encrypt(plainText []byte, seq, random, timestamp uint32) []byte

func (*Codec) ReadResponseBody

func (c *Codec) ReadResponseBody(v any) error

func (*Codec) ReadResponseHeader

func (c *Codec) ReadResponseHeader(r *rpc.Response) error

func (*Codec) WriteRequest

func (c *Codec) WriteRequest(r *rpc.Request, v any) error

Jump to

Keyboard shortcuts

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