util

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeSHA256

func ComputeSHA256(data []byte) (hash []byte)

func ComputeSHA3256

func ComputeSHA3256(data []byte) (hash []byte)

func ConcatenateBytes

func ConcatenateBytes(data ...[]byte) []byte

func CreateUtcTimestamp

func CreateUtcTimestamp() *timestamp.Timestamp

func ExtractRemoteAddress

func ExtractRemoteAddress(ctx context.Context) string

func GenerateBytesUUID

func GenerateBytesUUID() []byte

func GenerateUUID

func GenerateUUID() string

func GetTestChannelID

func GetTestChannelID() string

func ToChaincodeArgs

func ToChaincodeArgs(args ...string) [][]byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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