パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.0.15

shorebird_redis_client

Redis サーバーとの通信に使用する軽量な Dart クライアントライブラリ。Shorebird によって構築されました。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
11万
いいね数
21
Pub ポイント
160

パッケージをインストール

flutter pub add shorebird_redis_client

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Shorebirdが開発した軽量なDartクライアントで、複数のプラットフォーム上でRedisサーバーとのスムーズな通信を可能にします。シンプルさとパフォーマンスを重視して設計されており、キー値ストレージ、有効期限、Pub/Subメッセージングなどの基本的なRedis操作をサポートしています。Flutterアプリケーションにおけるリアルタイムデータ同期、キャッシュ、セッション管理に最適です。このライブラリはプラットフォーム非依存であり、Android、iOS、macOS、Windows、Linuxで動作するため、高速かつ信頼性の高いデータアクセスを必要とするクロスプラットフォームアプリに適しています。

用途

  • リアルタイムデータ同期
  • 頻繁にアクセスされるデータのキャッシュ
  • セッション管理
  • Pub/Subメッセージ
  • ユーザー状態の永続化

主な機能

  • 軽量かつ効率的
  • クロスプラットフォーム対応
  • 基本的なRedisコマンドをサポートしています
  • 組み込み接続処理
  • 一般的な操作のためのシンプルな API

適している対象

  • Redis統合が必要なFlutterアプリ
  • リアルタイム機能を開発する開発者
  • 高速のメモリ内データストレージを必要とするアプリ
  • アプリ更新にShorebirdを使用するチーム
  • 複数のオペレーティングシステムをターゲットにするプロジェクト

注意事項

  • 実行中のRedisサーバーが必要です
  • 基本的な Redis 機能に制限されています
  • 組み込みの接続プールなし
  • 複雑なRedisの使用ケースには向いていません
  • ネットワークの利用可能性に依存します

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Shorebird 🐦

Discord Shorebird Code Push - Flutter over the air updates | Product Hunt

ci e2e codecov License: MIT License: Apache

Getting Started

Visit https://docs.shorebird.dev to get started.

Packages

This repository is a monorepo containing the following packages:

Package Description
shorebird_cli Command-line which allows developers to interact with various Shorebird services
shorebird_code_push_client Dart library which allows Dart applications to interact with the Shorebird CodePush API
shorebird_code_push_protocol Dart library which contains common interfaces used by Shorebird CodePush
artifact_proxy Dart server which supports intercepting and proxying Flutter artifact requests
discord_gcp_alerts Dart server which forwards GCP alerts to Discord
flutter_version_resolver Command-line utility that determines which Flutter version should be used for a project
jwt Dart library for verifying JSON Web Tokens
redis_client Dart library for interacting with Redis
scoped_deps A simple dependency injection library built on Zones
stripe_api Dart library for interacting with Stripe

For more information, please refer to the documentation for each package.

Contributing

If you're interested in contributing, please join us on Discord.

Environment setup

Working on Shorebird requires Dart.

./scripts/bootstrap.sh will run pub get all packages in the repository.

Running tests

We don't yet have a script to run tests locally. For now, we recommend using very_good test -r in the packages directory to run all shorebird tests.

(If you run it in the root, it will find packages in bin/cache/flutter and try to run tests there, some of which will fail.)

To generate a coverage report install lcov:

brew install lcov

Then run tests with the --coverage flag:

very_good test -r --coverage
genhtml coverage/lcov.info -o coverage

You can view the generated coverage report via:

open coverage/index.html
Tracking coverage

The following command will generate a coverage report for the Dart packages:

dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --check-ignore

Coverage reports are uploaded to Codecov.

License

Shorebird projects are licensed for use under either Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.

See our license philosophy for more information on why we license files this way: https://handbook.shorebird.dev/engineering/#licensing-philosophy

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。

ランキング