16 lines
277 B
Go
16 lines
277 B
Go
package config
|
|
|
|
// Config holds the server configuration
|
|
type Config struct {
|
|
ListenAddr string
|
|
TargetAPI string
|
|
}
|
|
|
|
// New creates a new Config with default values
|
|
func New() *Config {
|
|
return &Config{
|
|
ListenAddr: ":8080",
|
|
TargetAPI: "https://tinder.cloonar.com",
|
|
}
|
|
}
|