transparency-dev / trillian-tessera

Go library for building tile-based transparency logs (tlogs)
Apache License 2.0
11 stars 11 forks source link

MySQL: extract tlog http API config to function #167

Closed mhutchinson closed 3 months ago

mhutchinson commented 3 months ago

This small refactoring clearly demonstrates the handlers that are configured for the core tlog spec. The method could be moved in the future, but I suggest leaving it here at first to make sure that any other implementation is exactly the same.

Towards #21.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.

Project coverage is 34.62%. Comparing base (46ec9c2) to head (a48d4c4). Report is 82 commits behind head on main.

Files Patch % Lines
cmd/example-mysql/main.go 0.00% 23 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #167 +/- ## ========================================== - Coverage 35.80% 34.62% -1.18% ========================================== Files 16 34 +18 Lines 1363 2957 +1594 ========================================== + Hits 488 1024 +536 - Misses 801 1822 +1021 - Partials 74 111 +37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.