39 lines
		
	
	
		
			774 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			774 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package main
 | |
| 
 | |
| import (
 | |
| 	"crypto/tls"
 | |
| 
 | |
| 	"git.stormux.org/storm/barnard/config"
 | |
| 	"git.stormux.org/storm/barnard/gumble/gumble"
 | |
| 	"git.stormux.org/storm/barnard/gumble/gumbleopenal"
 | |
| 	"git.stormux.org/storm/barnard/uiterm"
 | |
| )
 | |
| 
 | |
| type Barnard struct {
 | |
| 	Config     *gumble.Config
 | |
| 	UserConfig *config.Config
 | |
| 	Hotkeys    *config.Hotkeys
 | |
| 	Client     *gumble.Client
 | |
| 
 | |
| 	Address   string
 | |
| 	TLSConfig tls.Config
 | |
| 
 | |
| 	Stream    *gumbleopenal.Stream
 | |
| 	Tx        bool
 | |
| 	Connected bool
 | |
| 
 | |
| 	Ui              *uiterm.Ui
 | |
| 	UiOutput        uiterm.Textview
 | |
| 	UiInput         uiterm.Textbox
 | |
| 	UiStatus        uiterm.Label
 | |
| 	UiTree          uiterm.Tree
 | |
| 	UiInputStatus   uiterm.Label
 | |
| 	SelectedChannel *gumble.Channel
 | |
| 	selectedUser    *gumble.User
 | |
| 
 | |
| 	notifyChannel chan []string
 | |
| 
 | |
| 	exitStatus  int
 | |
| 	exitMessage string
 | |
| }
 |