origami_redis 0.0.3 copy "origami_redis: ^0.0.3" to clipboard
origami_redis: ^0.0.3 copied to clipboard

outdated

redis module origami core framework

example/example.dart

import 'dart:io';

import 'package:origami_redis/models/redisRoute.dart';
import 'package:origami_redis/redis.dart';
import 'package:origamicore/origamiCore.dart';

void main()async { 
  var core = OrigamiCore(Directory.current.path + '/example/config.json');
  await core.start([
    RedisIndex(), 
  ]);
  var data=await RedisRoute().increments('default', 'testkey', 10);
  print('data is :${data}');
  data=await RedisRoute().getIntValue('default', 'testkey');
  print('data is :${data}');
  var strData=await RedisRoute().getStringValue('default', 'testkey');
  print('data is :${strData}');
}
0
likes
0
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

redis module origami core framework

License

unknown (license)

Dependencies

origamicore, redis

More

Packages that depend on origami_redis