This repository has been archived on 2021-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
ui/go/the/globals.go

23 lines
581 B
Go
Raw Normal View History

2018-11-22 00:01:17 +00:00
package the
import (
"cwtch.im/cwtch/app"
"cwtch.im/cwtch/event"
2018-11-28 22:14:02 +00:00
libPeer "cwtch.im/cwtch/peer"
"cwtch.im/cwtch/storage/v1"
"git.openprivacy.ca/openprivacy/connectivity"
2018-11-28 22:14:02 +00:00
)
2018-11-22 00:01:17 +00:00
2020-10-09 18:09:43 +00:00
// really awesome but nevertheless to be replaced when proper profile/password management comes in ~ 0.2
const AppPassword = "be gay do crime"
2018-11-22 00:01:17 +00:00
var CwtchApp app.Application
var CwtchService app.ApplicationService
var EventBus event.Manager
var AppBus event.Manager
var ACN connectivity.ACN
2018-11-22 00:01:17 +00:00
var Peer libPeer.CwtchPeer
var CwtchDir string
var IPCBridge event.IPCBridge
var GlobalSettingsFile v1.FileStore