coap

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type COAPProxyError

type COAPProxyError interface {
	error
	MarshalJSON() ([]byte, error)
	StatusCode() codes.Code
}

func NewCOAPProxyError

func NewCOAPProxyError(statusCode codes.Code, err error) COAPProxyError

type Conn

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

type Proxy

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

func NewProxy

func NewProxy(config mgate.Config, handler session.Handler, logger *slog.Logger) *Proxy

func (*Proxy) Listen

func (p *Proxy) Listen(ctx context.Context) error

Jump to

Keyboard shortcuts

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