review fixes

This commit is contained in:
Ian Norden
2019-12-02 13:49:27 -06:00
parent 5be205ffa6
commit 4036d9d6a0
11 changed files with 31 additions and 46 deletions
@@ -35,11 +35,11 @@ type ISuperNodeStreamer interface {
// SuperNodeStreamer is the underlying struct for the ISuperNodeStreamer interface
type SuperNodeStreamer struct {
Client core.RpcClient
Client core.RPCClient
}
// NewSuperNodeStreamer creates a pointer to a new SuperNodeStreamer which satisfies the ISuperNodeStreamer interface
func NewSuperNodeStreamer(client core.RpcClient) *SuperNodeStreamer {
func NewSuperNodeStreamer(client core.RPCClient) *SuperNodeStreamer {
return &SuperNodeStreamer{
Client: client,
}
@@ -28,4 +28,4 @@ type SuperNodeTransformer interface {
GetConfig() config.Subscription
}
type SuperNodeTransformerInitializer func(db *postgres.DB, subCon config.Subscription, client core.RpcClient) SuperNodeTransformer
type SuperNodeTransformerInitializer func(db *postgres.DB, subCon config.Subscription, client core.RPCClient) SuperNodeTransformer