SDK
SDK Golang v2.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

Connect #

Connects to kuzzle instance.

Arguments #

Connect() (bool, error)

ArgumentTypeDescription
event
int
Event constant from the event package
channel
channel
Event payload channel

Return #

true and nil if the connection is successful or false and an error otherwise.