jmash_rbac_dart 0.0.2
jmash_rbac_dart: ^0.0.2 copied to clipboard
Jmash Rbac Package, JMash旨在遵从Jakarta EE 10 , MicroProfile 6.1 规范,构建Service Mash(服务网格)架构实践.
部署 #
- 更新包 flutter pub get
- 测试 flutter test
- 登录 dart pub login
- 发布 dart pub publish
- 代理
Windows 终端 #
set http_proxy=http://127.0.0.1:7890 set https_proxy=http://127.0.0.1:7890
Mac/Linux 终端 #
export http_proxy=http://127.0.0.1:7890 export https_proxy=http://127.0.0.1:7890
代码生成 #
-
安装flutter SDK
-
安装 Grpc protoc-gen-dart代码插件 flutter pub global activate protoc_plugin
-
创建项目 flutter create --template=package jmash_rbac_dart
-
生成代码
export PATH="$PATH":"$HOME/.pub-cache/bin"
protoc -I ../jmash-rbac-lib/src/main/proto --proto_path=. --dart_out=grpc:./lib ../jmash-rbac-lib/src/main/proto/jmash/rbac/*.proto
protoc -I ../jmash-rbac-lib/src/main/proto --proto_path=. --dart_out=grpc:./lib ../jmash-rbac-lib/src/main/proto/jmash/rbac/protobuf/*.proto