-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Herman Junge
committed
Jun 12, 2018
1 parent
a742a96
commit be60d0b
Showing
5 changed files
with
35 additions
and
1 deletion.
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 was deleted.
Oops, something went wrong.
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,12 @@ | ||
## BentoBox | ||
|
||
Microservice. Polls a *parity* JSON/RPC endpoint. On new block header, | ||
it will extract certain specified data. | ||
|
||
### Quick Start | ||
|
||
make bentobox && ./build/bin/bentobox | ||
|
||
### Usage | ||
|
||
* (TODO) |
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,14 @@ | ||
package main | ||
|
||
// Config has all the options you defined at the command line. | ||
type Config struct { | ||
Debug bool | ||
} | ||
|
||
// ParseFlags gets those command line options | ||
// and set them into a nice Config struct. | ||
func ParseFlags() *Config { | ||
cfg := &Config{} | ||
|
||
return cfg | ||
} |
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 main | ||
|
||
func main() { | ||
// get the flags | ||
cfg := ParseFlags() | ||
} |