go:generate mockery -dir . -name Query -case underscore -output mocks/ Query queries the state
| 64 | |
| 65 | // Query queries the state |
| 66 | type Query interface { |
| 67 | // GetState gets the value for given namespace and key. For a chaincode, the namespace corresponds to the chaincodeId |
| 68 | GetState(namespace string, key string) ([]byte, error) |
| 69 | |
| 70 | // Done releases resources occupied by the QueryExecutor |
| 71 | Done() |
| 72 | } |
| 73 | |
| 74 | //go:generate mockery -dir . -name QueryCreator -case underscore -output mocks/ |
| 75 |
no outgoing calls
no test coverage detected