sslcerts v0.2.2 Sslcerts.Worker View Source
Provides global access to the loaded configs, the API
is available directly with Sslcerts
, so there is little need to
dive too deep into here to learn how to use the API, but
rather for understanding the internals of the project.
To lookup the loaded configs (or to load them for the first time),
Sslcerts.config
Which will call
GenServer.call(Sslcerts.Worker, :config)
To force a reload on the global configs,
Sslcerts.reload
Which will call
GenServer.call(Sslcerts.Worker, :reload)
If you wanted to load a different config file, then,
Sslcerts.reload("/path/to/new/file.sslcerts")
Which will call
GenServer.call(Sslcerts.Worker, {:reload, "/path/to/new/file.sslcerts"})