Skip to content

Instantly share code, notes, and snippets.

package main
import (
"database/sql"
"fmt"
"log"
"os"
"sync"
"time"
package main
import (
"fmt"
"io/ioutil"
"log"
)
func main() {
files, err := ioutil.ReadDir("/data/cdrs/cv2/swoffnet/alliance/")
package main
import (
"bufio"
"encoding/json"
"log"
"os"
"sync"
)
package server
import (
"errors"
"fmt"
"io"
"io/ioutil"
"time"
log "github.com/sirupsen/logrus"
package pool
import (
"container/list"
"errors"
"sync"
"fmt"
)
import requests
from flask import Flask
from flask import request, jsonify
import pdb
# Flask constructor takes the name of
# current module (__name__) as argument.
app = Flask(__name__)
EDOS_ENDPOINT = "https://localhost:8091"
# The route() function of the Flask class is a decorator,