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

girorme / binoculo / 2b5f71f5bdb1b94aa3b799155db98f33a89356c1-PR-37

20 Apr 2025 06:00PM UTC coverage: 81.313% (-18.7%) from 100.0%
2b5f71f5bdb1b94aa3b799155db98f33a89356c1-PR-37

Pull #37

github

web-flow
Merge branch 'main' into feature/http-server
Pull Request #37: feat: http server

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

161 of 198 relevant lines covered (81.31%)

3.76 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