-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add doc.go to several packages
This helps with navigating pkg.go.dev for Gordian.
- Loading branch information
1 parent
e534bc9
commit aba609d
Showing
9 changed files
with
33 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Package gcrypto contains cryptographic primitives for the Gordian engine. | ||
package gcrypto |
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,3 @@ | ||
// Package tmcodec contains types for marshalling and unmarshalling consensus messages, | ||
// without being coupled to any particular serialization scheme. | ||
package tmcodec |
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,6 @@ | ||
// Package tmjson contains types satisfying the [tmcodec] interfaces | ||
// that serializing to and deserialize from JSON. | ||
// | ||
// These types are simple to work with, simple to maintain, and easy to read. | ||
// You can certainly get better performance with other serialization methods. | ||
package tmjson |
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,3 @@ | ||
// Package tmengine contains the [Engine] and its supporting types | ||
// which are used to actually create a consensus engine. | ||
package tmengine |
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,2 @@ | ||
// Package tmp2p contains high-level interfaces for the peer-to-peer layer for [tmengine]. | ||
package tmp2p |
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,6 @@ | ||
// Package tmlibp2p contains implementations of the [tmp2p] interfaces | ||
// using [github.com/libp2p/go-libp2p]. | ||
// | ||
// Note that this package will likely be moved to its own module | ||
// in a separate git repository, in the future. | ||
package tmlibp2p |
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,4 @@ | ||
// Package tmlibp2ptest provides the [Network] type | ||
// that is useful for tests that need to instantiate | ||
// a Gordian peer-to-peer network backed by [tmlibp2p]. | ||
package tmlibp2ptest |
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,3 @@ | ||
// Package tmp2ptest contains compliance tests for tmp2p implementations, | ||
// and it also provides some other types that are useful in tests. | ||
package tmp2ptest |
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,4 @@ | ||
// Package tmstoretest contains the compliance tests for implementations of the [tmstore] interfaces. | ||
// | ||
// Refer to [github.com/gordian-engine/gordian/tm/tmmemstore] for examples of calling the compliance tests. | ||
package tmstoretest |