【文件属性】:
文件名称:shelf_hasura_actions:用于Hasura Action的架子中间件
文件大小:7KB
文件格式:ZIP
更新时间:2021-03-06 15:54:53
Dart
rack_shelf_hasura_actions
用于Hasura Action的架子中间件。 参见
用法
一个简单的用法示例:
import 'package:shelf_hasura_actions/shelf_hasura_actions.dart' ;
import 'package:shelf/shelf_io.dart' as io;
import 'calculate_usebmi_function.dart' as bmi;
void main () async {
//get handler
final hasuraHandler = hasuraActions (_actions);
// just put in shelf pipeline
var server = await io. serve (hasuraHandler, 'localho
【文件预览】:
shelf_hasura_actions-master
----pubspec.yaml(295B)
----lib()
--------shelf_hasura_actions.dart(245B)
--------src()
----example()
--------calculate_usebmi_function.dart(203B)
--------hasura_actions_example.dart(513B)
----LICENSE(1KB)
----test()
--------hasura_actions_test.dart(850B)
----README.md(1KB)
----analysis_options.yaml(434B)
----.gitignore(281B)
----CHANGELOG.md(52B)