Remove deprecated elements
This commit is contained in:
parent
e92b01c528
commit
015cd7a3d0
17 changed files with 19 additions and 204 deletions
|
@ -137,14 +137,6 @@ func WithRoute(name string, rule string) func(*types.Route) string {
|
|||
}
|
||||
}
|
||||
|
||||
// WithBasicAuth is a helper to create a configuration
|
||||
// Deprecated
|
||||
func WithBasicAuth(username string, password string) func(*types.Frontend) {
|
||||
return func(fe *types.Frontend) {
|
||||
fe.BasicAuth = []string{username + ":" + password}
|
||||
}
|
||||
}
|
||||
|
||||
// WithFrontEndAuth is a helper to create a configuration
|
||||
func WithFrontEndAuth(auth *types.Auth) func(*types.Frontend) {
|
||||
return func(fe *types.Frontend) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue