SDK
SDK Golang v2.x
1

Connect #

Connects to kuzzle instance.

Arguments #

Copied to clipboard!
Connect() (bool, error)

Argument Type Description
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.