diff --git a/Example_test.go b/Example_test.go index c136e8e..deb0550 100644 --- a/Example_test.go +++ b/Example_test.go @@ -4,8 +4,7 @@ import ( "fmt" ) -func ExampleConnect() { - +func ExampleHubConnectionOptions_Connect() { opts := HubConnectionOptions{ Address: "127.0.0.1", Self: *NewUserInfo("slowpoke9"), @@ -31,8 +30,7 @@ func ExampleConnect() { } } -func ExampleConnectSync() { - +func ExampleHubConnectionOptions_ConnectSync() { cb := func(hub *HubConnection, event HubEvent) { switch event.EventType { case EVENT_CONNECTION_STATE_CHANGED: