common

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: AGPL-3.0 Imports: 14 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitProtocolState added in v0.12.0

func InitProtocolState(db *badger.DB, storages *storage.All) (protocol.State, error)

func InitStorage

func InitStorage(datadir string) *badger.DB

func InitStorageWithTruncate added in v0.11.0

func InitStorageWithTruncate(datadir string, truncate bool) *badger.DB

func InitStorages added in v0.12.0

func InitStorages(db *badger.DB) *storage.All

func InsecureFlowClient added in v0.21.0

func InsecureFlowClient(accessAddress string) (*client.Client, error)

InsecureFlowClient creates flow client with insecure GRPC connection

func PrettyPrint added in v0.13.0

func PrettyPrint(entity interface{})

PrettyPrint an interface

func PrettyPrintEntity added in v0.12.0

func PrettyPrintEntity(entity flow.Entity)

PrettyPrintEntity pretty print a flow entity

func SecureFlowClient added in v0.21.0

func SecureFlowClient(accessAddress, accessApiNodePubKey string) (*client.Client, error)

SecureFlowClient creates a flow client with secured GRPC connection

Types

This section is empty.

Jump to

Keyboard shortcuts

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