add cmdline argument to start in a specific channel
[barnard.git] / barnard.go
1 package main
2
3 import (
4         "crypto/tls"
5
6         "layeh.com/barnard/uiterm"
7         "layeh.com/gumble/gumble"
8         "layeh.com/gumble/gumbleopenal"
9 )
10
11 type Barnard struct {
12         Config *gumble.Config
13         Client *gumble.Client
14
15         Address   string
16         TLSConfig tls.Config
17         DefaultChannel string
18
19         Stream *gumbleopenal.Stream
20
21         Ui            *uiterm.Ui
22         UiOutput      uiterm.Textview
23         UiInput       uiterm.Textbox
24         UiStatus      uiterm.Label
25         UiTree        uiterm.Tree
26         UiInputStatus uiterm.Label
27 }