Skip to content

Commit

Permalink
change module path
Browse files Browse the repository at this point in the history
  • Loading branch information
s-macke committed Apr 7, 2023
1 parent 44d001c commit 56feb1c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ After installing Go, clone this repository and build the binary:
```bash
git clone https://github.com/s-macke/SlapperX.git
cd SlapperX
go build
cd src
go build -o slapperx
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module slapperx
module github.com/s-macke/slapperx

go 1.19

Expand Down
8 changes: 4 additions & 4 deletions src/slapper.go
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
package main

import (
"github.com/s-macke/slapperx/src/httpfile"
"os"
"slapper/src/httpfile"
"time"
)

const (
statsLines = 3
movingWindowsSize = 10 // seconds
screenRefreshFrequency = 3 // per second
screenRefreshFrequency = 5 // per second
screenRefreshInterval = time.Second / screenRefreshFrequency

reservedWidthSpace = 40
reservedHeightSpace = 3

rateIncreaseStep = 100
rateDecreaseStep = -100
rateIncreaseStep = 50
rateDecreaseStep = -50
)

var (
Expand Down
2 changes: 1 addition & 1 deletion src/targeter.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main

import (
"github.com/s-macke/slapperx/src/tracing"
"io"
"math"
"net/http"
"slapper/src/tracing"
"sync"
"time"
)
Expand Down

0 comments on commit 56feb1c

Please sign in to comment.