Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit 35ce65f

Browse files
committed
update package name to redhat-appstudio
- update package name to correct repository - Format Readme.md Signed-off-by: Avinal Kumar <[email protected]>
1 parent 0b332ed commit 35ce65f

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
A very simple reverse proxy that broadcasts to multiple backends.
44

5-
## Try it!
5+
## Try it
66

77
```sh
8-
$ make build
9-
$ bin/sprayproxy server --backend <backend-server> --backend <another-backend-server>
8+
make build
9+
bin/sprayproxy server --backend <backend-server> --backend <another-backend-server>
1010
```
1111

1212
You can also configure the proxy with environment variables:
@@ -15,9 +15,10 @@ You can also configure the proxy with environment variables:
1515
* `SPRAYPROXY_SERVER_PORT`: port to serve the proxy
1616
* `SPRAYPROXY_SERVER_BACKENDS`: a space-separated list of backends to forward traffic. Example:
1717

18-
```
19-
SPRAYPROXY_SERVER_BACKENDS="http://localhost:8080 http://localhost:8081"
20-
```
18+
```sh
19+
SPRAYPROXY_SERVER_BACKENDS="http://localhost:8080 http://localhost:8081"
20+
```
21+
2122
* `SPRAYPROXY_SERVER_INSECURE_SKIP_TLS_VERIFY`: Skip TLS verification when forwarding to backends.
2223
**Note: this setting is insecure and should not be used in production environments.**
2324

cmd/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/spf13/cobra"
1212
"github.com/spf13/viper"
1313

14-
"github.com/adambkaplan/sprayproxy/pkg/server"
14+
"github.com/redhat-appstudio/sprayproxy/pkg/server"
1515
)
1616

1717
// serverCmd represents the server command

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/adambkaplan/sprayproxy
1+
module github.com/redhat-appstudio/sprayproxy
22

33
go 1.18
44

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0
55
*/
66
package main
77

8-
import "github.com/adambkaplan/sprayproxy/cmd"
8+
import "github.com/redhat-appstudio/sprayproxy/cmd"
99

1010
func main() {
1111
cmd.Execute()

pkg/server/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
"github.com/gin-gonic/gin"
1414

15-
"github.com/adambkaplan/sprayproxy/pkg/proxy"
15+
"github.com/redhat-appstudio/sprayproxy/pkg/proxy"
1616
)
1717

1818
type SprayProxyServer struct {

0 commit comments

Comments
 (0)