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
No description provided by the author

# Functions

Client creates client over udp connection.
Dial creates a client connection to the given target.
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.
WithErrors set function for logging error.
WithGetMID allows to set own getMID function to server/client.
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.
WithLogger adds logging.
WithMaxMessageSize limit size of processed message.
WithMux set's multiplexer for handle requests.
WithNetwork define's udp version (udp4, udp6, udp) for client.
WithOnNewClientConn server's notify about new client connection.
WithTransmission set options for (re)transmission for Confirmable message-s.

# Structs

BlockwiseOpt network option.
CloseSocketOpt close socket option.
ContextOpt handler function option.
DialerOpt dialer option.
ErrorsOpt errors option.
GetMIDOpt get message ID option.
GoPoolOpt gopool option.
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.
LoggerOpt adds logging to this library.
MaxMessageSizeOpt handler function option.
NetOpt network option.
OnNewClientConnOpt network option.
No description provided by the author
No description provided by the author
TransmissionOpt transmission options.

# Interfaces

A DialOption sets options such as credentials, keepalive parameters, etc.
A MulticastOption sets options such as hop limit, etc.
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
No description provided by the author
The HandlerFunc type is an adapter to allow the use of ordinary functions as COAP handlers.
No description provided by the author