summary refs log tree commit diff stats
path: root/svc
Commit message (Collapse)AuthorAgeFilesLines
* removed experimental host matching and tls supportBen Morrison2020-03-162-59/+3
|
* some functions were missing comments. added those in where needed.Ben Morrison2019-12-197-0/+34
|
* decoupled tests from personal twtxt.txtBen Morrison2019-12-195-25/+25
| | | | | | | | Rather than use my personal twtxt.txt file, I'm using the mocked twtxt.txt file I just added to the repository for test data. It is being fetched via https from github to avoid having to get rid of the url validity check in the associated registry library.
* truncating etag v0.4.8Ben Morrison2019-12-191-2/+4
|
* minor refactor of apiEndpointHandler():Ben Morrison2019-12-191-8/+5
| | | | | reduced early returns removed unnecessary switch statement
* refactored servStatic() to eliminate early returnBen Morrison2019-12-181-8/+13
|
* reduced size of hash for etag to 32bitsBen Morrison2019-12-181-2/+2
|
* switched etags to use fnv hashBen Morrison2019-12-121-10/+14
|
* tick.exit channels now using struct{} instead of boolBen Morrison2019-12-081-4/+4
|
* closeLog channel now accepts struct{} instead of boolBen Morrison2019-12-083-4/+4
|
* fix upgrade process andcreme2019-08-282-30/+30
| | | | remove trailing spaces
* endpoint for version response v0.4.5Ben Morrison2019-08-282-1/+13
|
* license notice at top of each fileBen Morrison2019-07-1120-0/+380
|
* updated internal functionality for registry v0.4.0 v0.4.4Ben Morrison2019-06-198-20/+20
|
* changes related to registry-v0.3.0 v0.4.3Ben Morrison2019-06-187-13/+13
|
* prevent potential ddos via circular registry POST v0.4.2Ben Morrison2019-06-141-1/+6
|
* on SIGINT, push to DB before shutting downBen Morrison2019-06-132-1/+10
| | | | also logging elapsed time for DB pulls
* refactored tls listenerBen Morrison2019-06-131-3/+18
|
* mutex and readability cleanupBen Morrison2019-06-136-45/+22
|
* removed mutex from remoteRegistriesBen Morrison2019-06-136-21/+0
| | | | | slices are safe to use concurrently already. leaving as a struct for possible expansion later.
* updated cacheUpdate benchBen Morrison2019-06-131-1/+1
|
* linter warning about func signatureBen Morrison2019-06-131-1/+1
|
* made svc/ a package instead of a module for ease of developmentBen Morrison2019-06-132-215/+0
|
* added new options to manualBen Morrison2019-06-121-4/+30
|
* removed unused func/varBen Morrison2019-06-121-7/+0
|
* separate request and message logBen Morrison2019-06-125-48/+40
|
* updated depsBen Morrison2019-06-122-3/+3
|
* temporarily disabling cacheUpdate testBen Morrison2019-06-121-0/+5
|
* more context to cacheUpdate test failureBen Morrison2019-06-121-1/+1
|
* testing simple error log functionBen Morrison2019-06-121-0/+15
|
* tests for most of query.goBen Morrison2019-06-111-0/+76
|
* apiPostUser benchmarkBen Morrison2019-06-111-0/+20
|
* cache.go tests finishedBen Morrison2019-06-112-17/+113
|
* cleaned up staticHandlerBen Morrison2019-06-111-10/+8
|
* runtime bugs in staticHandlerBen Morrison2019-06-111-19/+12
|
* fixed content-typesBen Morrison2019-06-111-2/+2
|
* added support for TLS and hostname resolutionBen Morrison2019-06-113-7/+40
|
* check if behind reverse proxyBen Morrison2019-06-114-10/+28
|
* merged indexHandler with cssHandler, updated testsBen Morrison2019-06-113-43/+38
|
* push() changes v0.3.3Ben Morrison2019-06-111-3/+0
|
* updated depsBen Morrison2019-06-112-135/+6
|
* readability changesBen Morrison2019-06-111-6/+0
|
* readability changesBen Morrison2019-06-112-32/+21
|
* moved timed/periodic functions and types to periodic.goBen Morrison2019-06-113-95/+108
|
* updated cache benchmarksBen Morrison2019-06-111-0/+18
|
* eliminated confObj.LastCache and confObj.LastPush. Unneeded when using ↵Ben Morrison2019-06-116-38/+10
| | | | ticker for intervals.
* cache and db now use time.Ticker for events. refactored some initialization.Ben Morrison2019-06-115-108/+170
|
* dbLevel.Push() and dbLevel.Pull() now expecting pointer receiver onlyBen Morrison2019-06-111-2/+2
|
* dbSqlite.Push() now updating confObj.LastPush; dbSqlite.Push() and ↵Ben Morrison2019-06-111-5/+8
| | | | dbSqlite.Pull() now expecting pointer receiver only
* adding fs sync after db pushBen Morrison2019-06-112-1/+4
|