gatekeeper 1.0.11
gatekeeper: ^1.0.11 copied to clipboard
Gatekeeper is a Dart package for managing TCP ports with a manager, server, and client. Control ports programmatically, via IPC, or remotely for efficient port management.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate gatekeeper
Use it
The package has the following executables:
$ gatekeeper
$ gatekeeper_client
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add gatekeeper
With Flutter:
$ flutter pub add gatekeeper
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
gatekeeper: ^1.0.11
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:gatekeeper/gatekeeper.dart';