Documentation ¶
Index ¶
- func EncodeBytesArrayToHex(data [][]byte) []string
- func EncodeBytesToHex(data []byte) string
- func Launch(start func() error, shutdown func() error, timeout time.Duration)
- func MustDecodeHexArrayToBytes(hexArray []string) [][]byte
- func MustDecodeHexToBytes(hex string) []byte
- func VerifyMerkleProof(rootHash []byte, proof [][]byte, leaf []byte) bool
- type Entry
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeBytesArrayToHex ¶
func EncodeBytesToHex ¶
func MustDecodeHexToBytes ¶
Types ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
Stream helps transmit each streams withing a channel.
func NewJSONStream ¶
NewJSONStream returns a new `Stream` type.
Click to show internal directories.
Click to hide internal directories.