16 lines
435 B
Go
16 lines
435 B
Go
package setup
|
|
|
|
import (
|
|
"forge.cadoles.com/cadoles/bouncer/internal/config"
|
|
"forge.cadoles.com/cadoles/bouncer/internal/proxy/director"
|
|
"forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/basicauth"
|
|
)
|
|
|
|
func init() {
|
|
RegisterLayer(basicauth.LayerType, setupBasicAuthLayer, basicauth.RawLayerOptionsSchema)
|
|
}
|
|
|
|
func setupBasicAuthLayer(conf *config.Config) (director.Layer, error) {
|
|
return &basicauth.BasicAuth{}, nil
|
|
}
|