about summary refs log tree commit diff stats
path: root/svc/conf.go
Commit message (Collapse)AuthorAgeFilesLines
* config for admin password, store bcrypt hash in confObjBenjamin Morrison2021-10-211-0/+13
|
* updating module to live at sourcehutBen Morrison2020-06-201-1/+1
| | | | | | Also moving the 'registry' library into this repo, rather than maintaining them separately. It will still be decoupled, just live in this repository.
* Allowing static files to be served directly fromBen Morrison2020-04-121-1/+5
| | | | | | | | | | a directory specified in the config. Added a handler to svc.go:Start() to serve /static/ Added default value in conf.go for "StaticFilesDirectory" in the config file. Read the value of StaticFilesDirectory in config to the config global in conf.go
* removed experimental host matching and tls supportBen Morrison2020-03-161-31/+0
|
* some functions were missing comments. added those in where needed.Ben Morrison2019-12-191-0/+2
|
* license notice at top of each fileBen Morrison2019-07-111-0/+19
|
* mutex and readability cleanupBen Morrison2019-06-131-5/+5
|
* separate request and message logBen Morrison2019-06-121-11/+23
|
* added support for TLS and hostname resolutionBen Morrison2019-06-111-5/+32
|
* check if behind reverse proxyBen Morrison2019-06-111-0/+10
|
* readability changesBen Morrison2019-06-111-28/+18
|
* moved timed/periodic functions and types to periodic.goBen Morrison2019-06-111-77/+0
|
* eliminated confObj.LastCache and confObj.LastPush. Unneeded when using ↵Ben Morrison2019-06-111-5/+0
| | | | ticker for intervals.
* cache and db now use time.Ticker for events. refactored some initialization.Ben Morrison2019-06-111-10/+94
|
* refactored initConfig()Ben Morrison2019-06-101-69/+42
|
* changed some log formattingBen Morrison2019-06-101-1/+1
|
* setting version via build flagsBen Morrison2019-06-091-2/+2
|
* init staticAssets explicitly on startupBen Morrison2019-06-091-9/+0
|
* split db-specific funcs into separate filesBen Morrison2019-06-081-10/+14
|
* sqlite functionality addedBen Morrison2019-06-081-7/+3
|
* moved type declarations into respective filesBen Morrison2019-06-081-0/+28
|
* config and logging functions split into own fileBen Morrison2019-06-061-0/+187