fix fields on record struct

This commit is contained in:
Don Cote 2019-07-10 17:25:25 -04:00
parent fdee15abfb
commit 18694390c3
2 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,8 @@
# go-data-bridge-client
Go client for accessing Data Bridge
https://data-bridge-docs.flipsidecrypto.com/#section/Introduction
## Usage
### Initialization

View File

@ -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) {