1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 13:52:19 +00:00

Add package comments

This commit is contained in:
Alexandre Iooss 2020-10-09 22:36:02 +02:00
parent 473e80c5eb
commit 87d2992bdf
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
13 changed files with 16 additions and 3 deletions

View File

@ -16,5 +16,5 @@ linters:
stage: quality-assurance
script:
- go get -u golang.org/x/lint/golint
- golint -min_confidence 0.3 -set_exit_status ./...
- golint -min_confidence 0.2 -set_exit_status ./...
allow_failure: true

View File

@ -1,3 +1,4 @@
// Package auth manages backends to auth incoming streams
package auth
import (

View File

@ -1,3 +1,4 @@
// Package basic provides a basic authentification backend
package basic
import (

View File

@ -1,3 +1,4 @@
// Package ldap provides a LDAP authentification backend
package ldap
import (

View File

@ -1,3 +1,4 @@
// Package monitoring serves Prometheus monitoring endpoints
package monitoring
import (

View File

@ -1,5 +1,7 @@
//go:generate pkger
// Package main provides the full-featured server with configuration loading
// and communication between routines.
package main
import (

View File

@ -1,3 +1,4 @@
// Package forwarding forwards incoming stream to other streaming services
package forwarding
import (

View File

@ -1,3 +1,4 @@
// Package srt serves a SRT server
package srt
import (

View File

@ -1,3 +1,4 @@
// Package srt serves a SRT server
package srt
// #include <srt/srt.h>

View File

@ -1,14 +1,15 @@
// Package webrtc provides the backend to simulate a WebRTC client to send stream
package webrtc
import (
"bufio"
"github.com/pion/webrtc/v3"
"io"
"log"
"net"
"os/exec"
"github.com/pion/rtp"
"github.com/pion/webrtc/v3"
"gitlab.crans.org/nounous/ghostream/stream/srt"
)

View File

@ -1,3 +1,4 @@
// Package webrtc provides the backend to simulate a WebRTC client to send stream
package webrtc
import (

View File

@ -1,9 +1,9 @@
// Package web serves the JavaScript player and WebRTC negociation
package web
import (
"bytes"
"encoding/json"
"gitlab.crans.org/nounous/ghostream/stream/srt"
"html/template"
"log"
"net"
@ -12,6 +12,7 @@ import (
"github.com/markbates/pkger"
"gitlab.crans.org/nounous/ghostream/internal/monitoring"
"gitlab.crans.org/nounous/ghostream/stream/srt"
"gitlab.crans.org/nounous/ghostream/stream/webrtc"
)

View File

@ -1,3 +1,4 @@
// Package web serves the JavaScript player and WebRTC negociation
package web
import (