mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-14 15:28:28 +02:00
databroker server backend config (#1127)
* config,docs: add databroker storage backend configuration * cache: allow configuring which backend storage to use Currently supported types are "memory", "redis".
This commit is contained in:
parent
c9182f757e
commit
1640151bc1
9 changed files with 99 additions and 6 deletions
2
cache/cache.go
vendored
2
cache/cache.go
vendored
|
@ -71,7 +71,7 @@ func New(opts config.Options) (*Cache, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
dataBrokerServer := NewDataBrokerServer(localGRPCServer)
|
||||
dataBrokerServer := NewDataBrokerServer(localGRPCServer, opts)
|
||||
dataBrokerClient := databroker.NewDataBrokerServiceClient(localGRPCConnection)
|
||||
sessionServer := NewSessionServer(localGRPCServer, dataBrokerClient)
|
||||
sessionClient := session.NewSessionServiceClient(localGRPCConnection)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue