Skip to content

Commit

Permalink
reorganizing variables for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
talkkonnect committed Aug 30, 2021
1 parent ea82a27 commit b042926
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 334 deletions.
44 changes: 15 additions & 29 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,46 +54,32 @@ import (
)

var (
LcdText = [4]string{"nil", "nil", "nil", "nil"}
currentChannelID uint32
prevChannelID uint32
prevParticipantCount int = 0
prevButtonPress string = "none"
maxchannelid uint32
ConfigXMLFile string
Streaming bool
ServerHop bool
HTTPServRunning bool
message string
isrepeattx bool = true
NowStreaming bool
MyLedStrip *LedStrip
GPSTime string
GPSDate string
GPSLatitude float64
GPSLongitude float64
GPSSpeed float64
GPSCourse float64
GPSVariation float64
m string
)

type Talkkonnect struct {
Config *gumble.Config
Client *gumble.Client
VoiceTarget *gumble.VoiceTarget
Name string
Address string
Username string
Ident string
TLSConfig tls.Config
ConnectAttempts uint
Stream *Stream
ChannelName string
Daemonize bool
IsTransmitting bool
IsPlayStream bool
GPIOEnabled bool
Config *gumble.Config
Client *gumble.Client
VoiceTarget *gumble.VoiceTarget
Name string
Address string
Username string
Ident string
TLSConfig tls.Config
ConnectAttempts uint
Stream *Stream
ChannelName string
Daemonize bool
IsTransmitting bool
IsPlayStream bool
GPIOEnabled bool
}

type ChannelsListStruct struct {
Expand Down
Loading

0 comments on commit b042926

Please sign in to comment.