Documentation ¶
Index ¶
- func ChangeOwnAndSelectIt(contract *gateway.Contract, carName string, owner string)
- func CreateCarAndSelectIt(contract *gateway.Contract, carName string)
- func EnrollUser(sdk *fabsdk.FabricSDK, username string, password string) (bool, error)
- func GetContract(configPath string, walletName string) (error, *gateway.Contract)
- func PopulateWallet(wallet *gateway.Wallet, walletName string) error
- func QueryAllCars(contract *gateway.Contract)
- func RegisterlUser(sdk *fabsdk.FabricSDK, username, password, department string) error
- type ClientFixture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeOwnAndSelectIt ¶
func CreateCarAndSelectIt ¶
func EnrollUser ¶
EnrollUser enroll a user have registerd
func GetContract ¶
func QueryAllCars ¶
Types ¶
type ClientFixture ¶
type ClientFixture struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.