chaincodes

package
v0.0.0-...-730de25 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringHash

func StringHash(s string) uint32

Types

type Files

type Files struct {
	CreatedAt string   `json:"createdAt"`
	ID        uint32   `json:"id"`
	Name      string   `json:"name"`
	Owner     string   `json:"owner"`
	Customers []string `json:"customers"`
	Url       string   `json:"url"`
	Size      int      `json:"size"`
	Type      string   `json:"type"`
}

File describes basic details of what makes up a simple asset

type SmartContract

type SmartContract struct {
	contractapi.Contract
}

SmartContract provides functions for managing an Asset

Jump to

Keyboard shortcuts

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