forwarder

package
v0.0.0-...-eeb60d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyAdminPort = errors.New("Admin Port should not be empty")
View Source
var ErrEmptyBackendPort = errors.New("Backend Port should not be empty")
View Source
var ErrEmptyStoreHost = errors.New("Store host should not be empty")
View Source
var ErrEmptyUserHeaderKey = errors.New("UserHeaderKey should not be empty")
View Source
var ErrNilAuthModule = errors.New("Auth module should not be nil")

Functions

This section is empty.

Types

type Forwarder

type Forwarder struct {
	// contains filtered or unexported fields
}

func NewForwarderModule

func NewForwarderModule(auth *auth.Auth, storeHost string, adminPort int, backendPort int, userHeaderKey string, authEnabled bool) (*Forwarder, error)

func (*Forwarder) RegisterRoutes

func (u *Forwarder) RegisterRoutes(v1 *gin.RouterGroup)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL