Skip to content

Commit

Permalink
example directory updated
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Nov 9, 2023
1 parent fde01e1 commit 06a61c6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions example/lib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Check examples/lib/main.dart
5 changes: 5 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
void main() {
print("Run host scan : 'dart example/lib/scan/host_scan.dart'");
print("Run port scan : 'dart example/lib/scan/port_scan.dart'");
print("Run mdns scan : 'dart example/lib/scan/mdns_scan.dart'");
}
2 changes: 1 addition & 1 deletion example/host_scan.dart → example/lib/scan/host_scan.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:logging/logging.dart';
import 'package:network_tools/network_tools.dart';
import '../example/lib/example_utils.dart';
import '../example_utils.dart';

Future<void> main() async {
enableExampleLogging();
Expand Down
2 changes: 1 addition & 1 deletion example/mdns_scan.dart → example/lib/scan/mdns_scan.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:network_tools/network_tools.dart';
import '../example/lib/example_utils.dart';
import '../example_utils.dart';

Future<void> main() async {
enableExampleLogging();
Expand Down
2 changes: 1 addition & 1 deletion example/port_scan.dart → example/lib/scan/port_scan.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:logging/logging.dart';
import 'package:network_tools/network_tools.dart';
import '../example/lib/example_utils.dart';
import '../example_utils.dart';

Future<void> main() async {
enableExampleLogging();
Expand Down
5 changes: 0 additions & 5 deletions example/main.dart

This file was deleted.

0 comments on commit 06a61c6

Please sign in to comment.