81e7223560
Text Extraction * bases * go * splitting * structure * movetoasync * movetoasync * settinguptrigger * reorder * storevent * standardisepollingvalidation * unittests * fixlint * fixlint * awscfg * generatesample * followthrough * tests * clena * store * externalidcleanup * clientid * local * baseunittests * putobjecttests * tests
16 lines
296 B
Go
16 lines
296 B
Go
package storeevent
|
|
|
|
const EnvName = "STORE_EVENT_URL"
|
|
|
|
type StoreEventConfig struct {
|
|
StoreEventURL string `env:"STORE_EVENT_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *StoreEventConfig) GetStoreEventURL() string {
|
|
return c.StoreEventURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetStoreEventURL() string
|
|
}
|