package
2.0.0-20210608155919-691db5a1ade4
Repository: https://github.com/matrix-org/go-coap.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Client creates client over tcp/tcp-tls connection.
Dial creates a client connection to the given target.
NewClientConn creates connection over session and observation.
No description provided by the author
NewDeleteRequest creates delete request.
NewGetRequest creates get request.
NewHandlerContainer factory.
No description provided by the author
NewPostRequest creates post request.
NewPutRequest creates put request.
No description provided by the author
No description provided by the author
No description provided by the author
WithBlockwise configure's blockwise transfer.
WithCloseSocket closes socket at the close connection.
WithContext set's parent context of server.
WithDialer set dialer for dial.
WithDisablePeerTCPSignalMessageCSMs ignor peer's CSM message.
WithDisableTCPSignalMessageCSM don't send CSM when client conn is created.
WithErrors set function for logging error.
WithGoPool sets function for managing spawning go routines for handling incoming request's.
WithHandlerFunc set handle for handling request's.
WithHeartBeat set deadline's for read/write operations over client connection.
WithInactivityMonitor set deadline's for read operations over client connection.
WithKeepAlive monitoring's client connection's.
WithMaxMessageSize limit size of processed message.
WithMux set's multiplexer for handle requests.
WithNetwork define's tcp version (udp4, udp6, tcp) for client.
WithOnNewClientConn server's notify about new client connection.
WithTLS creates tls connection.

# Structs

BlockwiseOpt network option.
ClientConn represents a virtual connection to a conceptual endpoint, to perform COAPs commands.
No description provided by the author
CloseSocketOpt close socket option.
ContextOpt handler function option.
DialerOpt dialer option.
DisablePeerTCPSignalMessageCSMsOpt coap-tcp csm option.
DisableTCPSignalMessageCSMOpt coap-tcp csm option.
ErrorsOpt errors option.
GoPoolOpt gopool option.
HandlerContainer for regirstration handlers by key.
HandlerFuncOpt handler function option.
HeartBeatOpt heatbeat of read/write operations over connection.
InactivityMonitorOpt notifies when a connection was inactive for a given duration.
KeepAliveOpt keepalive option.
MaxMessageSizeOpt handler function option.
NetOpt network option.
Observation represents subscription to resource on the server.
OnNewClientConnOpt network option.
A ResponseWriter interface is used by an CAOP handler to construct an COAP response.
No description provided by the author
No description provided by the author
TLSOpt tls configuration option.

# Interfaces

A DialOption sets options such as credentials, keepalive parameters, etc.
Listener defined used by coap.
No description provided by the author
A ServerOption sets options such as credentials, codec and keepalive parameters, etc.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The HandlerFunc type is an adapter to allow the use of ordinary functions as COAP handlers.
OnNewClientConnFunc is the callback for new connections.