mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 08:01:16 +00:00
12 lines
311 B
Go
12 lines
311 B
Go
package config
|
|
|
|
import "context"
|
|
|
|
func (c *Config) LoadSentryDSNApi(ctx context.Context) (string, error) {
|
|
return c.GetSecret(ctx, "SENTRY_DSN_API", "sentry_dsn/api")
|
|
}
|
|
|
|
func (c *Config) LoadSentryDSNBackend(ctx context.Context) (string, error) {
|
|
return c.GetSecret(ctx, "SENTRY_DSN", "sentry_dsn/backend")
|
|
}
|