| 17 | import "fmt" |
| 18 | |
| 19 | type ChainClientInterface interface { |
| 20 | Commit(data string, lang string) (string, string, string, error) |
| 21 | Query(txId string, data string, lang string) (string, error) |
| 22 | } |
| 23 | |
| 24 | func NewChainClient(providerType string, clientId string, clientSecret string, region string, networkId string, chainId string, endponit string, text string, UserKey string, UserCert string, SignKey string, SignCert string, ContractName string, ContractMethod string, lang string) (ChainClientInterface, error) { |
| 25 | var res ChainClientInterface |
no outgoing calls
no test coverage detected