first commit
This commit is contained in:
parent
f0011f36e9
commit
6bd8d9b3b5
3 changed files with 30 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
# StreamWatcher
|
# StreamWatcher
|
||||||
|
|
||||||
Can watch and record several streams, optionally based on annotated areas.
|
Can watch and record several streams, optionally based on annotated areas.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
### Conda
|
||||||
|
|
||||||
|
Install env:
|
||||||
|
`conda env create -f requirements.yaml`
|
16
main.go
Executable file
16
main.go
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"log"
|
||||||
|
"net/http"
|
||||||
|
)
|
||||||
|
|
||||||
|
func root(w http.ResponseWriter, r *http.Request){
|
||||||
|
fmt.Fprint(w, "Root dfsdssite")
|
||||||
|
}
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
http.HandleFunc("/", root)
|
||||||
|
log.Fatal(http.ListenAndServe(":8080", nil))
|
||||||
|
}
|
6
requirements.yaml
Executable file
6
requirements.yaml
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
name: go
|
||||||
|
channels:
|
||||||
|
- conda-forge
|
||||||
|
dependencies:
|
||||||
|
- go=1.13.12
|
||||||
|
- gxx_linux-64
|
Loading…
Add table
Reference in a new issue