goreplay-cli package (#1148)

change package from `main -> goreplay`
this will allow importing `goreplay` as a package
This commit is contained in:
Dima Golomozy
2023-01-12 18:24:45 +03:00
committed by GitHub
parent 99e6fdfd60
commit 40946831b9
78 changed files with 148 additions and 174 deletions
+4 -5
View File
@@ -1,17 +1,16 @@
package main
package goreplay
import (
"context"
"fmt"
"github.com/buger/goreplay/internal/capture"
"github.com/buger/goreplay/internal/tcp"
"github.com/buger/goreplay/proto"
"log"
"net"
"strconv"
"strings"
"sync"
"github.com/buger/goreplay/capture"
"github.com/buger/goreplay/proto"
"github.com/buger/goreplay/tcp"
)
// RAWInputConfig represents configuration that can be applied on raw input