Documentation ¶
Index ¶
- Variables
- func Init()
- func LinkInputbool(id string, def bool) func() bool
- func LinkInputfloat64(id string, def float64) func() float64
- func LinkInputint(id string, def int) func() int
- func LinkOutputbool(id string) func(bool)
- func LinkOutputfloat64(id string) func(float64)
- func LinkOutputint(id string) func(int)
- type Message
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BrokerHost = "192.168.1.37" BrokerPort = 1883 ClientId = "my-plc-server-pubsub" UserName = "user1" Password = "userpassword1" )
View Source
var Publish = make(chan Message)
View Source
var SubscribeSubdir string = "metric/#"
View Source
var Subsribe = make(chan Message)
Functions ¶
func LinkOutputbool ¶
func LinkOutputfloat64 ¶
func LinkOutputint ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.