You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
180 B

  1. package alert
  2. import (
  3. cfg "github.com/tendermint/go-config"
  4. )
  5. var config cfg.Config = nil
  6. func init() {
  7. cfg.OnConfig(func(newConfig cfg.Config) {
  8. config = newConfig
  9. })
  10. }