coap

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoAP

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

CoAP constructs new Constrained Application Protocol clients.

func (*CoAP) Exports

func (c *CoAP) Exports() modules.Exports

Exports defines the ESM exports for a CoAP instance.

type Message

type Message struct {
	Code string
	Body []byte
}

Message is a CoAP message.

type RootModule

type RootModule struct{}

RootModule is the imported module for tests using xk6-coap.

func (*RootModule) NewModuleInstance

func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance

NewModuleInstance instantiates a new root xk6-coap module.

Jump to

Keyboard shortcuts

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