Skip to content

Commit

Permalink
Change main package name
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksraiden committed Feb 25, 2024
1 parent 273c5b5 commit e6bc354
Show file tree
Hide file tree
Showing 57 changed files with 117 additions and 117 deletions.
2 changes: 1 addition & 1 deletion admin/api/manual.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"net/http"

"github.com/fabiolb/fabio/registry"
"github.com/aleksraiden/fabio/registry"
)

// ManualHandler provides a fetch and update handler for the manual overrides api.
Expand Down
2 changes: 1 addition & 1 deletion admin/api/paths.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"strings"

"github.com/fabiolb/fabio/registry"
"github.com/aleksraiden/fabio/registry"
)

type ManualPathsHandler struct {
Expand Down
2 changes: 1 addition & 1 deletion admin/api/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sort"
"strings"

"github.com/fabiolb/fabio/route"
"github.com/aleksraiden/fabio/route"
)

type RoutesHandler struct{}
Expand Down
8 changes: 4 additions & 4 deletions admin/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"net/http"
"strings"

"github.com/fabiolb/fabio/admin/api"
"github.com/fabiolb/fabio/admin/ui"
"github.com/fabiolb/fabio/config"
"github.com/fabiolb/fabio/proxy"
"github.com/aleksraiden/fabio/admin/api"
"github.com/aleksraiden/fabio/admin/ui"
"github.com/aleksraiden/fabio/config"
"github.com/aleksraiden/fabio/proxy"
)

// Server provides the HTTP server for the admin UI and API.
Expand Down
2 changes: 1 addition & 1 deletion admin/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http/httptest"
"testing"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
)

func TestAdminServerAccess(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions admin/ui/manual.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ var tmplManual = template.Must(template.New("manual").Funcs(funcs).Parse( // lan
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="/routes">Routes</a></li>
<li><a class="dropdown-trigger dropdown-button" href="#" data-target="overrides">Overrides<i class="material-icons right">arrow_drop_down</i></a></li>
<li><a href="https://github.com/fabiolb/fabio/blob/master/CHANGELOG.md">{{.Version}}</a></li>
<li><a href="https://github.com/fabiolb/fabio">Github</a></li>
<li><a href="https://github.com/aleksraiden/fabio/blob/master/CHANGELOG.md">{{.Version}}</a></li>
<li><a href="https://github.com/aleksraiden/fabio">Github</a></li>
</ul>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions admin/ui/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"html/template"
"net/http"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
)

// RoutesHandler provides the UI for managing the routing table.
Expand Down Expand Up @@ -67,8 +67,8 @@ var tmplRoutes = template.Must(template.New("routes").Parse( // language=HTML
<a href="/" class="brand-logo">fabio{{if .Title}} - {{.Title}}{{end}}</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a class="dropdown-trigger dropdown-button" href="#" data-target="overrides">Overrides<i class="material-icons right">arrow_drop_down</i></a></li>
<li><a href="https://github.com/fabiolb/fabio/blob/master/CHANGELOG.md">{{.Version}}</a></li>
<li><a href="https://github.com/fabiolb/fabio">Github</a></li>
<li><a href="https://github.com/aleksraiden/fabio/blob/master/CHANGELOG.md">{{.Version}}</a></li>
<li><a href="https://github.com/aleksraiden/fabio">Github</a></li>
</ul>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
)

type AuthScheme interface {
Expand Down
2 changes: 1 addition & 1 deletion auth/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package auth
import (
"testing"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
)

func TestLoadAuthSchemes(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion auth/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"time"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
"github.com/tg123/go-htpasswd"
)

Expand Down
4 changes: 2 additions & 2 deletions auth/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"testing"
"time"

"github.com/fabiolb/fabio/config"
"github.com/fabiolb/fabio/uuid"
"github.com/aleksraiden/fabio/config"
"github.com/aleksraiden/fabio/uuid"
)

type responseWriter struct {
Expand Down
4 changes: 2 additions & 2 deletions bgp/bgp_nonwindows.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"net"
"os"

"github.com/fabiolb/fabio/config"
"github.com/fabiolb/fabio/exit"
"github.com/aleksraiden/fabio/config"
"github.com/aleksraiden/fabio/exit"

"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
Expand Down
2 changes: 1 addition & 1 deletion bgp/bgp_nonwindows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package bgp
import (
"context"
"encoding/json"
"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
api "github.com/osrg/gobgp/v3/api"
"os"
"os/exec"
Expand Down
2 changes: 1 addition & 1 deletion bgp/bgp_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package bgp

import (
"errors"
"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
)

type BGPHandler struct{}
Expand Down
4 changes: 2 additions & 2 deletions bgp/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"log"
"strings"

"github.com/fabiolb/fabio/exit"
"github.com/fabiolb/fabio/logger"
"github.com/aleksraiden/fabio/exit"
"github.com/aleksraiden/fabio/logger"

bgplog "github.com/osrg/gobgp/v3/pkg/log"
)
Expand Down
2 changes: 1 addition & 1 deletion cert/file_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/x509"
"os"

"github.com/fabiolb/fabio/exit"
"github.com/aleksraiden/fabio/exit"
)

// FileSource implements a certificate source for one
Expand Down
2 changes: 1 addition & 1 deletion cert/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/x509"
"fmt"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
"golang.org/x/sync/singleflight"
)

Expand Down
4 changes: 2 additions & 2 deletions cert/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

"golang.org/x/net/http2"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
consulapi "github.com/hashicorp/consul/api"
vaultapi "github.com/hashicorp/vault/api"
"github.com/pascaldekloe/goe/verify"
Expand Down Expand Up @@ -691,7 +691,7 @@ func writeFile(filename string, data []byte) {
func makeCertPool(x ...[]byte) *x509.CertPool {
p := x509.NewCertPool()
for _, b := range x {
// https://github.com/fabiolb/fabio/issues/434
// https://github.com/aleksraiden/fabio/issues/434
if ok := p.AppendCertsFromPEM(b); !ok {
panic("failed to add cert from PEM. Is the CN a DNS compatible name?")
}
Expand Down
2 changes: 1 addition & 1 deletion config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ func parseListen(cfg map[string]string, cs map[string]CertSource, readTimeout, w
}
if l.ProxyProto && l.ProxyHeaderTimeout == 0 {
// We should define a safe default if proxy-protocol was enabled but no header timeout was set.
// See https://github.com/fabiolb/fabio/issues/524 for more information.
// See https://github.com/aleksraiden/fabio/issues/524 for more information.
l.ProxyHeaderTimeout = 250 * time.Millisecond
}
return
Expand Down
2 changes: 1 addition & 1 deletion demo/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import (
"strconv"
"strings"

"github.com/fabiolb/fabio/proxy/tcp"
"github.com/aleksraiden/fabio/proxy/tcp"

"github.com/hashicorp/consul/api"
"golang.org/x/net/websocket"
Expand Down
38 changes: 19 additions & 19 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"crypto/tls"
"encoding/json"
"fmt"
"github.com/fabiolb/fabio/bgp"
"github.com/fabiolb/fabio/transport"
"github.com/aleksraiden/fabio/bgp"

Check failure on line 9 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/bgp: import lookup disabled by -mod=vendor

Check failure on line 9 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/transport"
gkm "github.com/go-kit/kit/metrics"
"io"
"log"
Expand All @@ -21,23 +21,23 @@ import (
"sync/atomic"
"time"

"github.com/fabiolb/fabio/admin"
"github.com/fabiolb/fabio/auth"
"github.com/fabiolb/fabio/cert"
"github.com/fabiolb/fabio/config"
"github.com/fabiolb/fabio/exit"
"github.com/fabiolb/fabio/logger"
"github.com/fabiolb/fabio/metrics"
"github.com/fabiolb/fabio/noroute"
"github.com/fabiolb/fabio/proxy"
"github.com/fabiolb/fabio/proxy/tcp"
"github.com/fabiolb/fabio/registry"
"github.com/fabiolb/fabio/registry/consul"
"github.com/fabiolb/fabio/registry/custom"
"github.com/fabiolb/fabio/registry/file"
"github.com/fabiolb/fabio/registry/static"
"github.com/fabiolb/fabio/route"
"github.com/fabiolb/fabio/trace"
"github.com/aleksraiden/fabio/admin"

Check failure on line 24 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/admin: import lookup disabled by -mod=vendor

Check failure on line 24 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/auth"

Check failure on line 25 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/auth: import lookup disabled by -mod=vendor

Check failure on line 25 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/cert"

Check failure on line 26 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/cert: import lookup disabled by -mod=vendor

Check failure on line 26 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/config"

Check failure on line 27 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/config: import lookup disabled by -mod=vendor

Check failure on line 27 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/exit"

Check failure on line 28 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/exit: import lookup disabled by -mod=vendor

Check failure on line 28 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/logger"

Check failure on line 29 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/logger: import lookup disabled by -mod=vendor

Check failure on line 29 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/metrics"

Check failure on line 30 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/metrics: import lookup disabled by -mod=vendor

Check failure on line 30 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/noroute"

Check failure on line 31 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/noroute: import lookup disabled by -mod=vendor

Check failure on line 31 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/proxy"

Check failure on line 32 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.22.0)

cannot find module providing package github.com/aleksraiden/fabio/proxy: import lookup disabled by -mod=vendor

Check failure on line 32 in main.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 1.19.1)

cannot find package "." in:
"github.com/aleksraiden/fabio/proxy/tcp"
"github.com/aleksraiden/fabio/registry"
"github.com/aleksraiden/fabio/registry/consul"
"github.com/aleksraiden/fabio/registry/custom"
"github.com/aleksraiden/fabio/registry/file"
"github.com/aleksraiden/fabio/registry/static"
"github.com/aleksraiden/fabio/route"
"github.com/aleksraiden/fabio/trace"

grpc_proxy "github.com/mwitkow/grpc-proxy/proxy"
"github.com/pkg/profile"
Expand Down
2 changes: 1 addition & 1 deletion metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package metrics

import (
"fmt"
"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
gkm "github.com/go-kit/kit/metrics"
"log"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion metrics/provider_circonus.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

cgm "github.com/circonus-labs/circonus-gometrics/v3"
"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
gkm "github.com/go-kit/kit/metrics"
)

Expand Down
2 changes: 1 addition & 1 deletion metrics/provider_circonus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
)

func TestAll(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions proxy/grpc_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"sync"
"time"

"github.com/fabiolb/fabio/config"
"github.com/fabiolb/fabio/route"
"github.com/aleksraiden/fabio/config"
"github.com/aleksraiden/fabio/route"

gkm "github.com/go-kit/kit/metrics"
grpc_proxy "github.com/mwitkow/grpc-proxy/proxy"
Expand Down
2 changes: 1 addition & 1 deletion proxy/gzip/gzip_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strconv"
"testing"

"github.com/fabiolb/fabio/assert"
"github.com/aleksraiden/fabio/assert"
)

var contentTypes = regexp.MustCompile(`^(text/.*|application/(javascript|json|font-woff|xml)|.*\+(json|xml))(;.*)?$`)
Expand Down
2 changes: 1 addition & 1 deletion proxy/http_headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"
"strings"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
)

// addResponseHeaders adds/updates headers in the response
Expand Down
2 changes: 1 addition & 1 deletion proxy/http_headers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http/httptest"
"testing"

"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
"github.com/pascaldekloe/goe/verify"
)

Expand Down
10 changes: 5 additions & 5 deletions proxy/http_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import (
"testing"
"time"

"github.com/fabiolb/fabio/config"
"github.com/fabiolb/fabio/logger"
"github.com/fabiolb/fabio/noroute"
"github.com/fabiolb/fabio/proxy/internal"
"github.com/fabiolb/fabio/route"
"github.com/aleksraiden/fabio/config"
"github.com/aleksraiden/fabio/logger"
"github.com/aleksraiden/fabio/noroute"
"github.com/aleksraiden/fabio/proxy/internal"
"github.com/aleksraiden/fabio/route"
"github.com/pascaldekloe/goe/verify"
)

Expand Down
16 changes: 8 additions & 8 deletions proxy/http_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import (
"strings"
"time"

"github.com/fabiolb/fabio/auth"
"github.com/fabiolb/fabio/config"
"github.com/fabiolb/fabio/logger"
"github.com/fabiolb/fabio/noroute"
"github.com/fabiolb/fabio/proxy/gzip"
"github.com/fabiolb/fabio/route"
"github.com/fabiolb/fabio/trace"
"github.com/fabiolb/fabio/uuid"
"github.com/aleksraiden/fabio/auth"
"github.com/aleksraiden/fabio/config"
"github.com/aleksraiden/fabio/logger"
"github.com/aleksraiden/fabio/noroute"
"github.com/aleksraiden/fabio/proxy/gzip"
"github.com/aleksraiden/fabio/route"
"github.com/aleksraiden/fabio/trace"
"github.com/aleksraiden/fabio/uuid"
)

type HttpStatsHandler struct {
Expand Down
8 changes: 4 additions & 4 deletions proxy/inetaf_tcpproxy_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"os"
"testing"

"github.com/fabiolb/fabio/config"
"github.com/fabiolb/fabio/proxy/tcp"
"github.com/fabiolb/fabio/proxy/tcp/tcptest"
"github.com/fabiolb/fabio/route"
"github.com/aleksraiden/fabio/config"
"github.com/aleksraiden/fabio/proxy/tcp"
"github.com/aleksraiden/fabio/proxy/tcp/tcptest"
"github.com/aleksraiden/fabio/route"
)

// to run this test, add the following to /etc/hosts:
Expand Down
2 changes: 1 addition & 1 deletion proxy/listen.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package proxy
import (
"crypto/tls"
"fmt"
"github.com/fabiolb/fabio/config"
"github.com/aleksraiden/fabio/config"
"net"
"time"

Expand Down
Loading

0 comments on commit e6bc354

Please sign in to comment.