Skip to content
Permalink
Browse files

Apply suggestions from code review

Co-Authored-By: Michael Grosser <development@stp-ip.net>
  • Loading branch information
erbesharat and stp-ip committed Dec 4, 2019
1 parent 2bc0a1d commit 8e9c1f8695a10f131a9dfb94d13e6fd5049e9f3c
Showing with 7 additions and 7 deletions.
  1. +1 −1 dockerv2.go
  2. +1 −1 fallback.go
  3. +1 −1 git.go
  4. +1 −1 gometa.go
  5. +1 −1 host.go
  6. +2 −2 proxy.go
@@ -31,7 +31,7 @@ type Dockerv2 struct {
rec record
}

// NewDockerv2 returns a fresh istance of Dockerv2 struct
// NewDockerv2 returns a fresh instance of Dockerv2 struct
func NewDockerv2(w http.ResponseWriter, r *http.Request, rec record, c Config) *Dockerv2 {
return &Dockerv2{
rw: w,
@@ -8,7 +8,7 @@ import (
"strings"
)

// Fallback keeps the data for fallback flow
// Fallback keeps the data necessary for the fallback flow
type Fallback struct {
rw http.ResponseWriter
request *http.Request
2 git.go
@@ -18,7 +18,7 @@ type Git struct {
rec record
}

// NewGit returns a fresh istance of Git struct
// NewGit returns a fresh instance of Git struct
func NewGit(w http.ResponseWriter, r *http.Request, c Config, rec record) *Git {
return &Git{
rw: w,
@@ -28,7 +28,7 @@ type Gometa struct {
rec record
}

// NewGometa returns a fresh istance of Gometa struct
// NewGometa returns a fresh instance of Gometa struct
func NewGometa(w http.ResponseWriter, r *http.Request, rec record, c Config) *Gometa {
return &Gometa{
rw: w,
@@ -15,7 +15,7 @@ type Host struct {
rec record
}

// NewHost returns a fresh istance of Host struct
// NewHost returns a fresh instance of Host struct
func NewHost(w http.ResponseWriter, r *http.Request, rec record, c Config) *Host {
return &Host{
rw: w,
@@ -26,7 +26,7 @@ import (
)

// ProxyResponse keeps the custom response writer data and is
// an custom implementation of net/http's default response writer
// a custom implementation of net/http's default response writer
type ProxyResponse struct {
headers http.Header
body []byte
@@ -43,7 +43,7 @@ type Proxy struct {
rec record
}

// NewProxy returns a fresh istance of Proxy struct
// NewProxy returns a fresh instance of Proxy struct
func NewProxy(w http.ResponseWriter, r *http.Request, rec record, c Config) *Proxy {
return &Proxy{
rw: w,

0 comments on commit 8e9c1f8

Please sign in to comment.
You can’t perform that action at this time.