github.com/jxgolibs/go-oauth2-server@v1.0.1/config/interface.go (about)

     1  package config
     2  
     3  // Backend defines a configuration backend, implement this interface
     4  // to support additional backends
     5  type Backend interface {
     6  	LoadConfig() (*Config, error)
     7  	RefreshConfig(newCnf *Config)
     8  	InitConfigBackend()
     9  }