-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separation of concerns for protocol observations (#35)
* feat: creating sample Go module * feat: example error handling * refactor: random example communication message * feat: example map data type (slice) & test cases * Template for suggested experimental expectations (#24) * feat: draft variable packet size experiment * docs: new section for project replicability * docs: markdown diagram (system control flow) + blockquote highlight * refactor: utility to insights + diode collection script * fix: text cache source location * Delete `message` directory * Delete `example` directory * bump: latest Go milestone (minor release) * Topic levels for MQTT (#27) * feat: diode telemetry channel + updated configuration settings * refactor: diode config settings & remove republish code * feat: read file contents from text file * feat: MQTT index, topic, payload, & checksum (example) * feat: create new message counter via mutex * feat: send file contents via MQTT telemetry topic * nit: remove unused broker message contents * refactor: message content of diode diagnostics * docs: finalize project directory structure * refactor: variables for testing content publisher * feat: placeholder client + server (I/O) * refactor: data diode settings & connection constants * refactor: application constants with minimal error handling * deps: remove outdated string metrics library * docs: create B4-0144-355112.json (via Fend_B4_4.0.2.fw) Source: #30 * refactor: diode test variables * docs: mock external API for schema validation * Mock system connection & message crafting (#34) * bump: project requirements via upgrading direct dependencies * feat: baseline for UUID + timestamp (MQTT) * refactor: diode test binary logic + echo message * feat: improve overall test coverage with republish contents * refactor: content compontents for subscription overhaul * fix: run all tests in current directory + subdirectories * feat: MQTT test subscription + application (client/server) * refactor: diode test command & server continuous stream * fix: broken build with undefined import * refactor: draft goroutine for server connection(s)
- Loading branch information
1 parent
a89f7c9
commit 084f41b
Showing
11 changed files
with
325 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package utility | ||
|
||
import "testing" | ||
|
||
func TestClient(t *testing.T) { | ||
got := "server" | ||
want := "client" | ||
|
||
if got != want { | ||
t.Errorf("got %q, want %q", got, want) | ||
} | ||
} | ||
|
||
func TestServer(t *testing.T) { | ||
got := "client" | ||
want := "server" | ||
|
||
if got != want { | ||
t.Errorf("got %q, want %q", got, want) | ||
} | ||
} |
Oops, something went wrong.