mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-15 00:53:18 +02:00
Docblocks, a handful of tests, but not enough
This commit is contained in:
parent
fa9d6444f5
commit
e3dfea1991
9 changed files with 121 additions and 12 deletions
server
|
@ -51,7 +51,7 @@ type Config struct {
|
|||
BehindProxy bool
|
||||
}
|
||||
|
||||
// New instantiates a default new config
|
||||
// NewConfig instantiates a default new server config
|
||||
func NewConfig(listenHTTP string) *Config {
|
||||
return &Config{
|
||||
ListenHTTP: listenHTTP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue