yjp před 1 rokem
rodič
revize
d3b01ec20a
1 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. 8 0
      framework/core/infrastructure/infrastructure.go

+ 8 - 0
framework/core/infrastructure/infrastructure.go

@@ -117,3 +117,11 @@ func DestroyInfrastructure(i *Infrastructure) {
 func (i Infrastructure) DBExecutor() database.Executor {
 	return i.dbExecutor
 }
+
+func (i Infrastructure) LocalCache() cache.Cache {
+	return i.localCache
+}
+
+func (i Infrastructure) RedisCache() cache.Cache {
+	return i.redisCache
+}