bjeanes / go-lifx

Go implementation of the LIFX bulb protocol, including a command line client, a client library, and a debug-oriented traffic snooper
18 stars 8 forks source link

Use an interface for client's connection field #18

Closed bjeanes closed 10 years ago

bjeanes commented 10 years ago

This will let us mock out the connection in tests without spinning up a real UDP connection. There may be better alternatives than this that I am not aware of, though.

radar commented 10 years ago

:+1: