gremgo icon indicating copy to clipboard operation
gremgo copied to clipboard

Where is NewSecureDialer?

Open durango opened this issue 6 years ago • 2 comments

Seems to be missing?

durango avatar Nov 09 '18 16:11 durango

Just try to use wss protocol in dialer

dialer := gremgo.NewDialer("wss://127.0.0.1:8182")

can't check it locally because of untrusted local certificate but the connection is using popular gorilla/websocket and seems to be established without errors

vladkras avatar Nov 11 '18 05:11 vladkras

NewSecureDialer doesn't exist. The authentication code in readme file should be updated as below:

sa := gremgo.SetAuthentication("userame", "password")
dialer := gremgo.NewDialer("wss://htgremlin.gremlin.cosmos.azure.com:443", sa)  // if ssl, using wss

cyrilzh avatar Aug 05 '19 08:08 cyrilzh