initial import

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
This commit is contained in:
2017-07-08 23:23:17 +03:00
parent befe6b8302
commit f3a0197dd9
9 changed files with 319 additions and 0 deletions

21
examples/main.go Normal file
View File

@@ -0,0 +1,21 @@
package main
import (
"net"
spice "github.com/vtolstov/go-spice"
)
func main() {
conn, err := net.Dial("tcp", "127.0.0.1:6789")
if err != nil {
panic(err)
}
sp, err := spice.Connect(conn)
if err != nil {
panic(err)
}
defer sp.Close()
}