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

girorme / binoculo / f2a105a130d7895c58051599df2fd17172cc24e2-PR-37

05 Apr 2025 06:09AM UTC coverage: 82.297%. First build
f2a105a130d7895c58051599df2fd17172cc24e2-PR-37

Pull #37

github

girorme
chore: add some logs to api
Pull Request #37: feat: http server

19 of 56 new or added lines in 5 files covered. (33.93%)

172 of 209 relevant lines covered (82.3%)

3.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/binoculo/api/server.ex
1
defmodule Binoculo.Api.Server do
2
  @moduledoc false
3

4
  use Application
5

6
  @impl true
7
  def start(_type, _args) do
NEW
8
    children = [
×
9
      {Plug.Cowboy, scheme: :http, plug: Binoculo.Api.Router, options: [port: 4000]}
10
    ]
11

NEW
12
    opts = [strategy: :one_for_one, name: Binoculo.ApiSupervisor]
×
NEW
13
    Supervisor.start_link(children, opts)
×
14
  end
15
end
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