forked from chteufleur/go-xmpp4steam
go fmt
This commit is contained in:
parent
ade4020625
commit
0b04382ca0
|
|
@ -14,18 +14,18 @@ var (
|
|||
|
||||
type GatewayInfo struct {
|
||||
// Steam
|
||||
SteamLogin string
|
||||
SteamPassword string
|
||||
SteamLoginInfo *steam.LogOnDetails
|
||||
SteamClient *steam.Client
|
||||
SentryFile string
|
||||
FriendSteamId map[string]struct{}
|
||||
SteamConnecting bool
|
||||
SteamLogin string
|
||||
SteamPassword string
|
||||
SteamLoginInfo *steam.LogOnDetails
|
||||
SteamClient *steam.Client
|
||||
SentryFile string
|
||||
FriendSteamId map[string]struct{}
|
||||
SteamConnecting bool
|
||||
|
||||
// XMPP
|
||||
XMPP_JID_Client string
|
||||
XMPP_Out chan interface{}
|
||||
XMPP_Connected_Client map[string]bool
|
||||
XMPP_JID_Client string
|
||||
XMPP_Out chan interface{}
|
||||
XMPP_Connected_Client map[string]bool
|
||||
}
|
||||
|
||||
func (g *GatewayInfo) Run() {
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ func (g *GatewayInfo) XMPP_Connect() {
|
|||
}
|
||||
|
||||
func (g *GatewayInfo) XMPP_Disconnect() {
|
||||
// TODO multi client connected management
|
||||
// TODO multi client connected management
|
||||
g.SendXmppPresence(Status_offline, Type_unavailable, "", "", "")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue