1
0
Fork 0
forked from mirrors/ntfy
ntfy/client/config.go
2021-12-18 16:12:36 -05:00

20 lines
268 B
Go

package client
const (
DefaultBaseURL = "https://ntfy.sh"
)
type Config struct {
DefaultHost string
Subscribe []struct {
Topic string
Command string
}
}
func NewConfig() *Config {
return &Config{
DefaultHost: DefaultBaseURL,
Subscribe: nil,
}
}