Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoAPClient ¶
func NewCoAPClient( ctx context.Context, handleCmd types.AgentCmdHandleFunc, cfg interface{}, ) (_ client.Interface, err error)
nolint:gocyclo
Types ¶
type Client ¶
type Client struct { *clientutil.BaseClient // contains filtered or unexported fields }
type Config ¶
type Config struct { clientutil.CommonConfig `json:",inline" yaml:",inline"` PathNamespaceFrom conf.ValueFromSpec `json:"pathNamespaceFrom" yaml:"pathNamespaceFrom"` Transport string `json:"transport" yaml:"transport"` URIQueries map[string]string `json:"uriQueries" yaml:"uriQueries"` KeepaliveInterval time.Duration `json:"keepaliveInterval" yaml:"keepaliveInterval"` }
Click to show internal directories.
Click to hide internal directories.