mirror of
https://github.com/FlipsideCrypto/go-data-bridge-client.git
synced 2026-02-06 10:48:12 +00:00
fix fields on record struct
This commit is contained in:
parent
fdee15abfb
commit
18694390c3
@ -1,6 +1,8 @@
|
||||
# go-data-bridge-client
|
||||
Go client for accessing Data Bridge
|
||||
|
||||
https://data-bridge-docs.flipsidecrypto.com/#section/Introduction
|
||||
|
||||
## Usage
|
||||
|
||||
### Initialization
|
||||
|
||||
@ -7,13 +7,10 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// Record represents a Data Bridge data record
|
||||
type Record struct {
|
||||
ID string `json:"id"`
|
||||
ConsumerID string `json:"consumer_id"`
|
||||
TopicSlug string `json:"topic_slug"`
|
||||
RetryCount int32 `json:"retry_count"`
|
||||
Partition int32 `json:"partition"`
|
||||
Offset int32 `json:"offset"`
|
||||
ID string `json:"id"`
|
||||
Data map[string]string `json:"data"`
|
||||
}
|
||||
|
||||
func getNextRecord(c Client) (*Record, error) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user