mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-01 18:01:23 -05:00
restructure server command and remove cfg.OIDC.Issuer switch, oidc middleware detects now if it should used or not fix #761
18 lines
319 B
Go
18 lines
319 B
Go
package middleware
|
|
|
|
import (
|
|
"github.com/owncloud/ocis/proxy/pkg/cache"
|
|
)
|
|
|
|
const (
|
|
// AccountsKey declares the svcKey for the Accounts service.
|
|
AccountsKey = "accounts"
|
|
)
|
|
|
|
var (
|
|
// svcCache caches requests for given services to prevent round trips to the service
|
|
svcCache = cache.NewCache(
|
|
cache.Size(256),
|
|
)
|
|
)
|