format code & add additional assets
This commit is contained in:
8
main.go
8
main.go
@@ -25,8 +25,8 @@ import (
|
||||
_ "embed"
|
||||
"encoding/xml"
|
||||
"github.com/kr/pretty"
|
||||
"runtime"
|
||||
"io"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
var loadedConfig lambdaConfig
|
||||
@@ -118,9 +118,9 @@ func main() {
|
||||
return charset.NewReaderLabel(c, input)
|
||||
},
|
||||
},
|
||||
Jid: loadedConfig.Username + "/" + loadedConfig.Resource,
|
||||
Credential: xmpp.Password(loadedConfig.Password),
|
||||
Insecure: loadedConfig.Insecure,
|
||||
Jid: loadedConfig.Username + "/" + loadedConfig.Resource,
|
||||
Credential: xmpp.Password(loadedConfig.Password),
|
||||
Insecure: loadedConfig.Insecure,
|
||||
// StreamLogger: os.Stdout,
|
||||
StreamManagementEnable: true,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user