bnkamalesh/webgo

View on GitHub
cmd/static/index.html

Summary

Maintainability
Test Coverage
<!doctype html>
<html class="no-js" lang="">

<head>
    <meta charset="utf-8">
    <title>Webgo - Sample</title>
    <meta name="description" content="This is a sample app using Webgo">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <meta property="og:title" content="Webgo Sample">
    <meta property="og:type" content="website">

    <link rel="stylesheet" href="/static/css/normalize.css">
    <link rel="stylesheet" href="/static/css/main.css">

    <meta name="theme-color" content="#fafafa">
</head>

<body>
    <section class="main">
        <p align="center"><img
                src="https://user-images.githubusercontent.com/1092882/60883564-20142380-a268-11e9-988a-d98fb639adc6.png"
                alt="webgo gopher" style="width: 100%; max-width: 256px;" /></p>

        <p class="tags"  align="justify">
            <a href="https://codecov.io/gh/bnkamalesh/webgo"><img
                    src="https://img.shields.io/codecov/c/github/bnkamalesh/webgo.svg" alt="coverage"></a>
            <a href="https://goreportcard.com/report/github.com/bnkamalesh/webgo"><img
                    src="https://goreportcard.com/badge/github.com/bnkamalesh/webgo" alt=""></a>
            <a href="https://codeclimate.com/github/bnkamalesh/webgo/maintainability"><img
                    src="https://api.codeclimate.com/v1/badges/85b3a55c3fa6b4c5338d/maintainability" alt=""></a>
            <a href="http://godoc.org/github.com/bnkamalesh/webgo"><img
                    src="https://godoc.org/github.com/nathany/looper?status.svg" alt=""></a>
            <a href="https://github.com/avelino/awesome-go#web-frameworks"><img
                    src="https://awesome.re/mentioned-badge.svg" alt=""></a>
        </p>
        <h1 align="center">WebGo</h1>
        <p class="sse-container">
        <table>
            <tr>
                <td><a
                    href="https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events">SSE</a> Client ID</td>
                <td><span id="sse-client-id"></span></td>
            </tr>
            <tr>
                <td><a
                        href="https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events">SSE</a> data
                </td>
                <td><span id="sse"></span></td>
            </tr>
            <tr>
                <td>Active clients</td>
                <td><span id="sse-clients"></span></td>
            </tr>
        </table>

        </p>
    </section>
    <script src="/static/js/main.js"></script>
</body>

</html>