]> git.0d.be Git - barnard.git/blobdiff - barnard.go
add cmdline argument to start in a specific channel
[barnard.git] / barnard.go
index 4b0045e1802d90de678d64ac89f248130b0e1b3c..769151edb04dd38f612aea57ba35713e21226fb7 100644 (file)
@@ -1,16 +1,22 @@
-package barnard
+package main
 
 import (
-       "github.com/layeh/barnard/uiterm"
-       "github.com/layeh/gumble/gumble"
-       "github.com/layeh/gumble/gumble_openal"
+       "crypto/tls"
+
+       "layeh.com/barnard/uiterm"
+       "layeh.com/gumble/gumble"
+       "layeh.com/gumble/gumbleopenal"
 )
 
 type Barnard struct {
        Config *gumble.Config
        Client *gumble.Client
 
-       Stream *gumble_openal.Stream
+       Address   string
+       TLSConfig tls.Config
+       DefaultChannel string
+
+       Stream *gumbleopenal.Stream
 
        Ui            *uiterm.Ui
        UiOutput      uiterm.Textview