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