Skip to content

Commit

Permalink
chore(stateful): move from pkg to internal directory
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Aug 10, 2023
1 parent 23681aa commit 6519d7b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/cache/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package middleware

import (
"github.com/miekg/dns"
"github.com/qdm12/dns/v2/pkg/middlewares/stateful"
"github.com/qdm12/dns/v2/internal/stateful"
)

type Middleware struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/filter/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package middleware

import (
"github.com/miekg/dns"
"github.com/qdm12/dns/v2/pkg/middlewares/stateful"
"github.com/qdm12/dns/v2/internal/stateful"
)

type Middleware struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/middlewares/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net"

"github.com/miekg/dns"
"github.com/qdm12/dns/v2/pkg/middlewares/stateful"
"github.com/qdm12/dns/v2/internal/stateful"
)

type Middleware struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/middlewares/metrics/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"

"github.com/miekg/dns"
"github.com/qdm12/dns/v2/pkg/middlewares/stateful"
"github.com/qdm12/dns/v2/internal/stateful"
)

type Middleware struct {
Expand Down

0 comments on commit 6519d7b

Please sign in to comment.