Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
Update package
Browse files Browse the repository at this point in the history
  • Loading branch information
soulbalz committed Feb 15, 2021
1 parent 2695776 commit da875fa
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .traefik.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
displayName: Check Body Request
type: middleware

import: github.com/soulbalz/checkbodyplugin
import: github.com/soulbalz/traefik-check-body

summary: Checks the incoming request for specific body and their values to be present and matching the configuration.

Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package checkbodyplugin
package checkbody

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion constant.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package checkbodyplugin
package checkbody

// MatchType defines an enum which can be used to specify the match type for the 'contains' config.
type MatchType string
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 github.com/soulbalz/checkbodyplugin
module github.com/soulbalz/traefik-check-body

go 1.15

Expand Down
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package checkbodyplugin
package checkbody

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package checkbodyplugin
package checkbody

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package checkbodyplugin_test
package checkbody_test

import (
"bytes"
Expand All @@ -7,7 +7,7 @@ import (
"net/http/httptest"
"testing"

checkbody "github.com/soulbalz/checkbodyplugin"
checkbody "github.com/soulbalz/traefik-check-body"
)

var required = true
Expand Down
2 changes: 1 addition & 1 deletion response.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package checkbodyplugin
package checkbody

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion single_body.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package checkbodyplugin
package checkbody

import (
"strings"
Expand Down

0 comments on commit da875fa

Please sign in to comment.