chore: rename package name

This commit is contained in:
2024-12-09 12:27:50 +01:00
parent e4c994405a
commit 9162ec03c1
27 changed files with 30 additions and 29 deletions

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package pkg
package internal
/*
Copyright 2024 Jonas Kaninda

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
type Cors struct {
// Cors Allowed origins,

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"fmt"

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
// Gateway contains Goma Proxy Gateway's configs
type Gateway struct {

View File

@@ -1,4 +1,4 @@
package pkg
package internal
/*
Copyright 2024 Jonas Kaninda

View File

@@ -1,4 +1,4 @@
package pkg
package internal
/*
Copyright 2024 Jonas Kaninda

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"context"

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"github.com/golang-jwt/jwt"

View File

@@ -1,4 +1,4 @@
package pkg
package internal
import (
"errors"

View File

@@ -1,4 +1,4 @@
package pkg
package internal
/*
Copyright 2024 Jonas Kaninda

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
// Middleware defined the route middlewares
type Middleware struct {

View File

@@ -1,4 +1,4 @@
package pkg
package internal
/*
Copyright 2024 Jonas Kaninda

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"github.com/jkaninda/goma-gateway/internal/middlewares"

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"fmt"

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
// Route defines gateway route
type Route struct {

View File

@@ -1,4 +1,4 @@
package pkg
package internal
/*
Copyright 2024 Jonas Kaninda

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package pkg
package internal
/*
Copyright 2024 Jonas Kaninda

View File

@@ -1,4 +1,4 @@
package pkg
package internal
import (
"context"

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"crypto/tls"

View File

@@ -15,7 +15,7 @@
*
*/
package pkg
package internal
import (
"context"

View File

@@ -1,4 +1,4 @@
package pkg
package internal
const ConfigDir = "/etc/goma/" // Default configuration file
const ExtraDir = ConfigDir + "extra"