sync/src/partition/partitionconfig.js

16 lines
245 B
JavaScript
Raw Normal View History

2016-06-06 21:54:49 -07:00
class PartitionConfig {
constructor(config) {
this.config = config;
}
getIdentity() {
return this.config.identity;
}
2016-06-09 23:42:30 -07:00
getRedisConfig() {
return this.config.redis;
}
2016-06-06 21:54:49 -07:00
}
export { PartitionConfig };