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

girorme / binoculo / 946a8bd9582d1910bce08560534a42409498f5d6-PR-37

20 Apr 2025 06:12PM UTC coverage: 81.313% (-18.7%) from 100.0%
946a8bd9582d1910bce08560534a42409498f5d6-PR-37

Pull #37

github

girorme
Merge branch 'feature/http-server' of github.com:girorme/binoculo 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.72 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