Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPAdapter ¶
type HTTPAdapter struct {
Host string
}
func (*HTTPAdapter) Get ¶
func (adapter *HTTPAdapter) Get(params core.ServiceValues) (core.ServiceValues, error)
Get - запрашивает данные
func (*HTTPAdapter) Post ¶
func (adapter *HTTPAdapter) Post(values core.ServiceValues) error
Post - отправляет данные в сервис
type MQTTClient ¶
type MQTTClient struct {
// contains filtered or unexported fields
}
func NewMqttClient ¶
func NewMqttClient(opts MQTTClientOptions) (*MQTTClient, error)
func (*MQTTClient) DoCommand ¶
func (mc *MQTTClient) DoCommand(commander core.CommandReader) error
func (*MQTTClient) SubscribePortIn ¶
func (mc *MQTTClient) SubscribePortIn(ID uint8, handler core.MessageHandlerCallback) error
type MQTTClientOptions ¶
Click to show internal directories.
Click to hide internal directories.