module PlaceOS::Edge
Defined in:
edge-app.crplaceos-edge.cr
placeos-edge/client.cr
placeos-edge/config.cr
placeos-edge/constants.cr
placeos-edge/error.cr
placeos-edge/protocol.cr
placeos-edge/server.cr
placeos-edge/transport.cr
Constant Summary
-
APP_NAME =
"PlaceOS Edge" -
CLIENT_SECRET =
ENV["PLACE_EDGE_KEY"]? || (production? ? abort("missing PLACE_EDGE_KEY in environment") : "edge-1000_secret") -
Secret used to register with PlaceOS
-
Log =
::Log.for(self) -
LOG_STDOUT =
ActionController.default_backend -
PLACE_URI =
URI.parse(ENV["PLACE_URI"]? || "https://localhost:8443".tap do |v| Log.warn do "missing PLACE_URI in environment, using #{v}" end end) -
URI of PlaceOS instance
-
PROD =
ENV["SG_ENV"]? == "production" -
VERSION =
{{ (`shards version \"/srv/crystaldoc.info/github-PlaceOS-core-v4.17.0/src/placeos-edge\"`).chomp.stringify.downcase }}