Documentation ¶
Overview ¶
Package asset_key_func provides asset key related functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetKeyByteFunc ¶
type AssetKeyByteFunc func(stub cached_stub.CachedStubInterface, caller data_model.User, asset data_model.Asset) ([]byte, error)
AssetKeyByteFunc is a function that takes a caller and an asset as input, and returns a key byte ([]byte) to get the AssetKey of the asset.
type AssetKeyPathFunc ¶
type AssetKeyPathFunc func(stub cached_stub.CachedStubInterface, caller data_model.User, asset data_model.Asset) ([]string, error)
AssetKeyPathFunc is a function that takes a caller and an asset as input, and returns a key path ([]string) to get the AssetKey of the asset.
Click to show internal directories.
Click to hide internal directories.