fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/fab/events/deliverclient/seek Index | Files

package seek

import "github.com/hyperledger/fabric-sdk-go/pkg/fab/events/deliverclient/seek"

Index

Package Files

seek.go

Constants

const (
    // Oldest seeks from the first block
    Oldest = "oldest"
    // Newest seeks from the last block
    Newest = "newest"
    // FromBlock seeks from a specific block
    FromBlock = "from"
)

func InfoFrom Uses

func InfoFrom(fromBlock uint64) *ab.SeekInfo

InfoFrom returns a SeekInfo struct that indicates to the deliver server that we want all blocks starting from the given block number

func InfoNewest Uses

func InfoNewest() *ab.SeekInfo

InfoNewest returns a SeekInfo struct that indicates to the deliver server that we just want the latest blocks

func InfoOldest Uses

func InfoOldest() *ab.SeekInfo

InfoOldest returns a SeekInfo struct that indicates to the deliver server that we want all blocks starting from the oldest block (block 0)

type Type Uses

type Type string

Type is the type of Seek request to perform.

Package seek imports 2 packages (graph) and is imported by 3 packages. Updated 2019-09-04. Refresh now. Tools for package owners.