Skip to content

Commit

Permalink
Rename all package imports from gor to goreplay
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed May 1, 2017
1 parent d1ddda4 commit 74225eb
Show file tree
Hide file tree
Showing 22 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions COMM-LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ under the terms of the GNU Lesser General Public License versions 3.0

5. Fees and Payment. The Software license fees will be due and payable in full as set forth in the applicable invoice or at the time of purchase. If the Software does not function properly within two weeks of purchase, please contact us within those two weeks for a refund. You shall be responsible for all taxes, withholdings, duties and levies arising from the order (excluding taxes based on the net income of GoReplay LLC).

6. Support, Maintenance and Services. Subject to the terms and conditions of this Agreement, as set forth in your invoice, and as set forth on the GoReplay Pro support page (https://github.com/buger/gor/wiki/Pro-Support), support and maintenance services may be included with the purchase of your license subscription.
6. Support, Maintenance and Services. Subject to the terms and conditions of this Agreement, as set forth in your invoice, and as set forth on the GoReplay Pro support page (https://github.com/buger/goreplay/wiki/Pro-Support), support and maintenance services may be included with the purchase of your license subscription.

7. Term of Agreement.

Expand Down Expand Up @@ -72,7 +72,7 @@ In no event will GoReplay LLC liability exceed the Software license price as ind

13.1 Entire Agreement. This Agreement sets forth our entire agreement with respect to the Software and the subject matter hereof and supersedes all prior and contemporaneous understandings and agreements whether written or oral.

13.2 Amendment. GoReplay LLC reserves the right, in its sole discretion, to amend this Agreement from time. Amendments to this Agreement can be located at: https://github.com/buger/gor/blob/master/COMM-LICENSE.
13.2 Amendment. GoReplay LLC reserves the right, in its sole discretion, to amend this Agreement from time. Amendments to this Agreement can be located at: https://github.com/buger/goreplay/blob/master/COMM-LICENSE.

13.3 Assignment. You may not assign this Agreement or any of its rights under this Agreement without the prior written consent of GoReplay LLC and any attempted assignment without such consent shall be void.

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ RUN wget http://www.tcpdump.org/release/libpcap-1.7.4.tar.gz && tar xzf libpcap-
RUN go get github.com/google/gopacket
RUN go get -u github.com/golang/lint/golint

WORKDIR /go/src/github.com/buger/gor/
ADD . /go/src/github.com/buger/gor/
WORKDIR /go/src/github.com/buger/goreplay/
ADD . /go/src/github.com/buger/goreplay/

RUN wget http://archive.apache.org/dist/commons/io/binaries/commons-io-2.4-bin.tar.gz && tar xzf commons-io-2.4-bin.tar.gz && cd commons-io-2.4 && mv commons-io-2.4.jar /tmp/
RUN wget http://archive.apache.org/dist/commons/codec/binaries/commons-codec-1.9-bin.tar.gz && tar xzf commons-codec-1.9-bin.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SOURCE = emitter.go gor.go gor_stat.go input_dummy.go input_file.go input_raw.go input_tcp.go limiter.go output_dummy.go output_null.go output_file.go input_http.go output_http.go output_tcp.go plugins.go settings.go test_input.go elasticsearch.go http_modifier.go http_modifier_settings.go http_client.go middleware.go protocol.go output_file_settings.go output_kafka.go
SOURCE_PATH = /go/src/github.com/buger/gor/
SOURCE_PATH = /go/src/github.com/buger/goreplay/
PORT = 8000
FADDR = :8000
RUN = docker run -v `pwd`:$(SOURCE_PATH) -p 0.0.0.0:$(PORT):$(PORT) -i -t gor
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![GitHub release](https://img.shields.io/github/release/buger/gor.svg?maxAge=3600)](https://github.com/buger/gor/releases) [![codebeat](https://codebeat.co/badges/6427d589-a78e-416c-a546-d299b4089893)](https://codebeat.co/projects/github.aaakk.us.kg-buger-gor) [![Go Report Card](https://goreportcard.com/badge/github.com/buger/gor)](https://goreportcard.com/report/github.com/buger/gor) [![Join the chat at https://gitter.im/buger/gor](https://badges.gitter.im/buger/gor.svg)](https://gitter.im/buger/gor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![GitHub release](https://img.shields.io/github/release/buger/gor.svg?maxAge=3600)](https://github.com/buger/goreplay/releases) [![codebeat](https://codebeat.co/badges/6427d589-a78e-416c-a546-d299b4089893)](https://codebeat.co/projects/github.aaakk.us.kg-buger-gor) [![Go Report Card](https://goreportcard.com/badge/github.com/buger/gor)](https://goreportcard.com/report/github.com/buger/gor) [![Join the chat at https://gitter.im/buger/gor](https://badges.gitter.im/buger/gor.svg)](https://gitter.im/buger/gor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

![Go Replay](http://i.imgur.com/ZG2ki5n.png)

Expand All @@ -18,17 +18,17 @@ Here is basic workflow: The listener server catches http traffic and sends it to

![Diagram](http://i.imgur.com/9mqj2SK.png)

Check [latest documentation](http://github.com/buger/gor/wiki).
Check [latest documentation](http://github.com/buger/goreplay/wiki).

## Installation
Download latest binary from https://github.com/buger/gor/releases or [compile by yourself](https://github.com/buger/gor/wiki/Compilation).
Download latest binary from https://github.com/buger/goreplay/releases or [compile by yourself](https://github.com/buger/goreplay/wiki/Compilation).

## Getting started

The most basic setup will be `sudo ./gor --input-raw :8000 --output-stdout` which acts like tcpdump.
If you already have test environment you can start replaying: `sudo ./gor --input-raw :8000 --output-http http://staging.env`.

See the our [documentation](https://github.com/buger/gor/wiki/) and [Getting started](https://github.com/buger/gor/wiki/Getting-Started) page for more info.
See the our [documentation](https://github.com/buger/goreplay/wiki/) and [Getting started](https://github.com/buger/goreplay/wiki/Getting-Started) page for more info.
## Newsletter
Subscribe to our [newsletter](https://www.getdrip.com/forms/89690474/submissions/new) to stay informed about the latest features and changes to Gor project.

Expand All @@ -39,7 +39,7 @@ We have created a [GoReplay PRO](https://goreplay.org/pro.html) extension which


## Problems?
If you have a problem, please review the [FAQ](https://github.com/buger/gor/wiki/FAQ) and [Troubleshooting](https://github.com/buger/gor/wiki/Troubleshooting) wiki pages. Searching the [issues](https://github.com/buger/gor/issues) for your problem is also a good idea.
If you have a problem, please review the [FAQ](https://github.com/buger/goreplay/wiki/FAQ) and [Troubleshooting](https://github.com/buger/goreplay/wiki/Troubleshooting) wiki pages. Searching the [issues](https://github.com/buger/goreplay/issues) for your problem is also a good idea.

All bug-reports and suggestions should go though Github Issues or our [Google Group](https://groups.google.com/forum/#!forum/gor-users) (you can just send email to [email protected]).
If you have a private question feel free to send email to [email protected].
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"encoding/json"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"github.com/mattbaird/elastigo/lib"
"log"
"regexp"
Expand Down
2 changes: 1 addition & 1 deletion examples/middleware/token_modifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"bytes"
"encoding/hex"
"fmt"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"os"
)

Expand Down
2 changes: 1 addition & 1 deletion http_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"syscall"
"time"

"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
)

var httpMu sync.Mutex
Expand Down
2 changes: 1 addition & 1 deletion http_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"bytes"
"crypto/rand"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"io/ioutil"
_ "log"
"net"
Expand Down
2 changes: 1 addition & 1 deletion http_modifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"hash/fnv"

"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
)

type HTTPModifier struct {
Expand Down
2 changes: 1 addition & 1 deletion http_modifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"bytes"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion http_prettifier.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"bytes"
"compress/gzip"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion input_http_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"io"
"log"
"net/http"
Expand Down
4 changes: 2 additions & 2 deletions input_raw.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/buger/gor/proto"
raw "github.com/buger/gor/raw_socket_listener"
"github.com/buger/goreplay/proto"
raw "github.com/buger/goreplay/raw_socket_listener"
"log"
"net"
"time"
Expand Down
2 changes: 1 addition & 1 deletion input_raw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"bytes"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"io"
"io/ioutil"
"log"
Expand Down
2 changes: 1 addition & 1 deletion kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"fmt"
"github.com/Shopify/sarama"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
)

// KafkaConfig should contains required information to
Expand Down
2 changes: 1 addition & 1 deletion middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"crypto/rand"
"encoding/hex"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"io"
"net/http"
"net/http/httptest"
Expand Down
2 changes: 1 addition & 1 deletion output_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync/atomic"
"time"

"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
)

const initialDynamicWorkers = 10
Expand Down
2 changes: 1 addition & 1 deletion output_kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"github.com/Shopify/sarama"
"github.com/Shopify/sarama/mocks"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"io"
"log"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion proto/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package proto

import (
"bytes"
"github.com/buger/gor/byteutils"
"github.com/buger/goreplay/byteutils"
)

// In HTTP newline defined by 2 bytes (for both windows and *nix support)
Expand Down
4 changes: 2 additions & 2 deletions raw_socket_listener/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"bytes"
"encoding/binary"
"fmt"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
"github.com/google/gopacket/pcap"
Expand Down Expand Up @@ -241,7 +241,7 @@ func (e *DeviceNotFoundError) Error() string {
devices, _ := pcap.FindAllDevs()

if len(devices) == 0 {
return "Can't get list of network interfaces, ensure that you running Gor as root user or sudo.\nTo run as non-root users see this docs https://github.com/buger/gor/wiki/Running-as-non-root-user"
return "Can't get list of network interfaces, ensure that you running Gor as root user or sudo.\nTo run as non-root users see this docs https://github.com/buger/goreplay/wiki/Running-as-non-root-user"
}

var msg string
Expand Down
2 changes: 1 addition & 1 deletion raw_socket_listener/tcp_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/sha1"
"encoding/binary"
"encoding/hex"
"github.com/buger/gor/proto"
"github.com/buger/goreplay/proto"
"log"
"net"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
{
"checksumSHA1": "U2Ydh7vEAKlN0Wq22n1JpefF7uY=",
"origin": "github.com/buger/gor/vendor/github.com/google/gopacket",
"origin": "github.com/buger/goreplay/vendor/github.com/google/gopacket",
"path": "github.com/google/gopacket",
"revision": "b09bf408520f7646e29b7033d9adb00ed779a1c4",
"revisionTime": "2016-05-12T15:06:07Z"
Expand Down

0 comments on commit 74225eb

Please sign in to comment.