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

girorme / binoculo / 37be8038f6400f380a3fceea17d90dc37e3a2991-PR-37

31 Mar 2025 05:45AM UTC coverage: 84.729%. First build
37be8038f6400f380a3fceea17d90dc37e3a2991-PR-37

Pull #37

github

girorme
chore: add read payload
Pull Request #37: feat: http server

21 of 52 new or added lines in 6 files covered. (40.38%)

172 of 203 relevant lines covered (84.73%)

3.86 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