cloud

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPStreamer

type GCPStreamer struct {
	// contains filtered or unexported fields
}

func NewGCPStreamer

func NewGCPStreamer(log zerolog.Logger, bucket *storage.BucketHandle) *GCPStreamer

func (*GCPStreamer) Next

func (g *GCPStreamer) Next() (*uploader.BlockData, error)

func (*GCPStreamer) OnBlockFinalized

func (g *GCPStreamer) OnBlockFinalized(blockID flow.Identifier)

OnBlockFinalized is a callback for the Flow consensus follower. It is called each time a block is finalized by the Flow consensus algorithm.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL