chore: rename package + dir + repo to fai_client_sdk
Some checks failed
Security / Security check (push) Failing after 1s
Some checks failed
Security / Security check (push) Failing after 1s
Adopts the three SDK families convention from fai/platform/docs/architecture/sdks.md — base name carries the family, language suffix on dir + repo only: fai_dart_sdk (pkg) → fai_client_sdk fai_dart_sdk (dir) → fai_client_sdk_dart fai/dart-sdk (repo) → fai/client-sdk-dart Internal lib/test/example file renames track the package name. Old git.flemming.ws URL also retired here. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
f481eee687
commit
f882b7f955
5 changed files with 24 additions and 15 deletions
|
|
@ -1,20 +0,0 @@
|
|||
// Example: connect to a locally-running F∆I hub.
|
||||
//
|
||||
// Run with `dart run example/fai_dart_sdk_example.dart`.
|
||||
// Currently the SDK is a stub; once codegen lands, this example
|
||||
// will exercise the actual Hub RPCs.
|
||||
|
||||
import 'package:fai_dart_sdk/fai_dart_sdk.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
final client = HubClient(
|
||||
endpoint: const HubEndpoint(host: '127.0.0.1', port: 50051),
|
||||
);
|
||||
|
||||
// ignore: avoid_print
|
||||
print('would connect to ${client.endpoint}');
|
||||
// ignore: avoid_print
|
||||
print('(SDK is a stub today; live RPC arrives with codegen)');
|
||||
|
||||
await client.close();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue