mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-06 03:48:45 +00:00
Refactor things
- Remove separate auth/logging and merge them into transport.go - Add helper function for http handlers
This commit is contained in:
parent
37b1c75045
commit
fa27d9c6eb
11 changed files with 547 additions and 1664 deletions
|
@ -101,7 +101,7 @@ func Parse(r io.Reader) (c *config, err error) {
|
|||
case "log_file":
|
||||
c.LogFile = val
|
||||
default:
|
||||
return nil, errors.New("invliad config key " + key)
|
||||
return nil, errors.New("invalid config key " + key)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue