type Cosys struct {}
Cosys is the main app, where the core services, module services etc. can be accessed from.
All methods are concurrency safe, unless otherwise stated.
When the Cosys app is run, the Cosys struct undergoes the following procedure.
func (c *Cosys) Environment() Environment
Returns which environment the app is running in.
func (c *Cosys) SetEnvironment(env Environment)
Update which environment the app is running in.