Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CoapFactory ¶
type CoapFactory struct {
// contains filtered or unexported fields
}
CoapFactory Coap Trigger factory
type CoapResource ¶
type CoapResource struct {
// contains filtered or unexported fields
}
type CoapTrigger ¶
type CoapTrigger struct {
// contains filtered or unexported fields
}
CoapTrigger CoAP trigger struct
func (*CoapTrigger) Init ¶
func (t *CoapTrigger) Init(runner action.Runner)
func (*CoapTrigger) Metadata ¶
func (t *CoapTrigger) Metadata() *trigger.Metadata
Metadata implements trigger.Trigger.Metadata
func (*CoapTrigger) Start ¶
func (t *CoapTrigger) Start() error
Start implements trigger.Trigger.Start
type Server ¶
type Server struct { Handler coap.Handler Addr string // contains filtered or unexported fields }
Server the server structure
func (*Server) IsStarted ¶
IsStarted checks if the server is started will return true even if the server is stopped but there are still some requests to finish
Click to show internal directories.
Click to hide internal directories.