• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jeffotoni / quick / 232
51%

Build:
DEFAULT BRANCH: main
Ran 07 Mar 2025 07:31PM UTC
Jobs 1
Files 91
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Mar 2025 07:28PM UTC coverage: 56.44% (-0.07%) from 56.507%
232

push

circleci

jeffotoni
TLS in Quick
- We created the ListenTLS(addr, certFile, keyFile string) function to allow the server to listen for HTTPS connections.
- The method uses http.Server.ServeTLS() to start the server with an SSL certificate.
- We modified the Quick struct
- We added a server *http.Server field to store the server instance.
- This allowed us to implement a Shutdown() method to shut down the server in a controlled manner.
- We created a functional test for ListenTLS
- We registered a handler on the / route to ensure a 200 OK response.
- We initialized the server in a goroutine to avoid deadlocks.
- We used an HTTP client with TLS support to test the secure connection.
- We checked if the server responded correctly and, at the end, we called q.Shutdown() to shut it down. - We generated self-signed certificates
- We created cert.pem and key.pem using OpenSSL to allow local testing.
- We set up the appropriate permissions to avoid access issues.

20 of 40 new or added lines in 2 files covered. (50.0%)

2191 of 3882 relevant lines covered (56.44%)

2571.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
0.0
example/quick.listen.tls/main.go
10
96.3
-2.21% quick.go
Jobs
ID Job ID Ran Files Coverage
1 232.1 07 Mar 2025 07:31PM UTC 91
56.44
CircleCI Job
Source Files on build 232
  • Tree
  • List 91
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #232
  • d9f6b8c3 on github
  • Prev Build on main (#231)
  • Next Build on main (#233)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc