asset_key_func

package
v0.0.0-...-aeb4a1d Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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