telebit/internal/mgmt/mgmt.go

21 lines
504 B
Go
Raw Permalink Normal View History

2020-11-13 09:43:17 +00:00
package mgmt
import (
"git.rootprojects.org/root/telebit/internal/mgmt/authstore"
)
var store authstore.Store
// DeviceDomain is the base hostname used for devices, such as devices.example.com
// which has devices as foo.devices.example.com
var DeviceDomain string
// RelayDomain is the API hostname used for the tunnel
// ( currently NOT used, but will be used for wss://RELAY_DOMAIN/ )
var RelayDomain string
// Init initializes some package variables
func Init(s authstore.Store) {
2020-11-13 09:43:17 +00:00
store = s
}