client example does not work: unknown field 'ServerMessages' #4

Closed
opened 2018-04-13 14:37:55 +03:00 by meisterluk · 2 comments
meisterluk commented 2018-04-13 14:37:55 +03:00 (Migrated from github.com)

The current example code gives

# command-line-arguments
./client_main.go:30:17: unknown field 'ServerMessages' in struct literal of type vnc.ClientConfig

because of

f6acfdfdad/example/client/main.go (L30)

to make it work, you need change line 30 to

Messages:         vnc.DefaultServerMessages,
The current example code gives ``` # command-line-arguments ./client_main.go:30:17: unknown field 'ServerMessages' in struct literal of type vnc.ClientConfig ``` because of https://github.com/vtolstov/go-vnc/blob/f6acfdfdad844a293a5670d8f719cb3ec5c31368/example/client/main.go#L30 to make it work, you need change line 30 to ``` Messages: vnc.DefaultServerMessages, ```
vtolstov commented 2018-12-16 00:07:10 +03:00 (Migrated from github.com)

sorry, miss that. i'm try to fixup all stuff and write tests.

sorry, miss that. i'm try to fixup all stuff and write tests.
vtolstov commented 2018-12-18 00:33:04 +03:00 (Migrated from github.com)

thanks!

thanks!
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/go-rfb#4
No description provided.