|
package config
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
type SentryConfig struct {
|
|
DSN string `yaml:"dsn"`
|
|
Environment string `yaml:"environment"`
|
|
}
|
|
|
|
func NewDefaultSentryConfig() SentryConfig {
|
|
hostname, _ := os.Hostname()
|
|
return SentryConfig{
|
|
DSN: "",
|
|
Environment: hostname,
|
|
}
|
|
}
|