-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from coinbase/patrick/server-sdk
Add Server, Client, and Models Package
- Loading branch information
Showing
106 changed files
with
3,156 additions
and
895 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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
c.out | ||
coverage.html | ||
|
||
examples/server/server | ||
examples/client/client | ||
examples/fetcher/fetcher |
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,17 @@ | ||
# Asserter | ||
|
||
[![GoDoc](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=shield)](https://pkg.go.dev/github.com/coinbase/rosetta-sdk-go/asserter?tab=overview) | ||
|
||
The Asserter package is used to validate the correctness of Rosetta models. It is | ||
important to note that this validation only ensures that required fields are | ||
populated, fields are in the correct format, and transaction operations only | ||
contain types and statuses specified in the /network/status endpoint. | ||
|
||
If you want more intensive validation, try running the | ||
[Rosetta Validator](https://github.com/coinbase/rosetta-validator). | ||
|
||
## Installation | ||
|
||
```shell | ||
go get github.com/coinbase/rosetta-sdk-go/asserter | ||
``` |
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
Oops, something went wrong.