ciris.ConfigKey
See theConfigKey companion class
object ConfigKey
Attributes
- Companion
- class
- Source
- ConfigKey.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ConfigKey.type
Members list
Grouped members
Creating Instances
Returns a new ConfigKey with the specified description.
Returns a new ConfigKey for the specified environment variable.
Returns a new ConfigKey for the specified environment variable.
Attributes
- Example
-
scala> val apiKey = ConfigKey.env("API_KEY") apiKey: ConfigKey = ConfigKey(environment variable API_KEY) scala> apiKey.description res0: String = environment variable API_KEY - Source
- ConfigKey.scala
Returns a new ConfigKey for the specified path and charset.
Returns a new ConfigKey for the specified path and charset.
Attributes
- Inherited from:
- ConfigKeyRuntimePlatform (hidden)
- Source
- ConfigKeyRuntimePlatform.scala
Returns a new ConfigKey for the specified system property.
Returns a new ConfigKey for the specified system property.
Attributes
- Example
-
scala> val apiKey = ConfigKey.prop("api.key") apiKey: ConfigKey = ConfigKey(system property api.key) scala> apiKey.description res0: String = system property api.key - Source
- ConfigKey.scala
Returns the description for the specified ConfigKey.
Attributes
- Example
-
scala> val apiKey = ConfigKey.env("API_KEY") apiKey: ConfigKey = ConfigKey(environment variable API_KEY) scala> apiKey match { case ConfigKey(description) => description } res0: String = environment variable API_KEY - Source
- ConfigKey.scala
In this article