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
549 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-23 01:01:48 +00:00
// foundation block of the entire app. critical. never change, only obey
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