Go to file
2019-07-17 14:42:09 -04:00
.gitignore Initial commit 2019-07-09 18:02:15 -04:00
client_test.go initial commit 2019-07-10 11:19:10 -04:00
client.go return nil/nil on 404 2019-07-17 13:26:23 -04:00
README.md fix fields on record struct 2019-07-10 17:25:25 -04:00
record.go change data to be an interface 2019-07-17 14:42:09 -04:00

go-data-bridge-client

Go client for accessing Data Bridge

https://data-bridge-docs.flipsidecrypto.com/#section/Introduction

Usage

Initialization

config := Config{APIKey: "api-key", TopicSlug: "my-topic-slug", ConsumerID: "consumer-id"}
client, err := NewClient(config)

Get Next Record

record, err := client.GetNextRecord()

Mark Record Completed

err := client.CompleteRecord(record)

Mark Record Failed

err := client.FailRecord(record)