Versions in this module Expand all Collapse all v2 v2.0.1 May 12, 2020 v2.0.0 May 10, 2020 Changes in this version + type Common struct + Connection *grpc.ClientConn + func NewCommon(host string, port int, production bool) *Common + func (c *Common) Close() + func (c *Common) GenerateAPIRequest(secretKey, did string) Response + func (c *Common) GetAPIKey(secretKey, did string) Response + type HealthCheck struct + Connection *grpc.ClientConn + func NewHealthCheck(host string, port int, production bool) *HealthCheck + func (hc *HealthCheck) Check() *health_check.HealthCheckResponse + func (hc *HealthCheck) Close() + type Hive struct + Connection *grpc.ClientConn + func NewHive(host string, port int, production bool) *Hive + func (h *Hive) Close() + func (h *Hive) UploadAndSign(apiKey, did, network, privateKey, filename string) Response + func (h *Hive) VerifyAndShow(apiKey, did, network, privateKey, msg, pub, sig, hash string) ResponseData + type JWTClaim struct + JwtInfo string + type JWTInfoCommon struct + type JWTInfoCreateWallet struct + Network string + type JWTInfoHiveUploadAndSign struct + FileContent string + Network string + PrivateKey string + type JWTInfoNodeRpc struct + Chain string + Method string + Network string + Params interface{} + type JWTInfoRequestELA struct + Address string + Chain string + type JWTInfoSidechainEthDeploy struct + Address string + ContractName string + ContractSource string + Gas int + Network string + PrivateKey string + type JWTInfoSidechainEthWatch struct + ContractAddress string + ContractCodeHash string + ContractName string + Network string + type JWTInfoVerifyAndShow struct + Hash string + Msg string + Network string + PrivateKey string + Pub string + Sig string + type JWTInfoViewWallet struct + Address string + Chain string + Network string + type NodeRpc struct + Connection *grpc.ClientConn + func NewNodeRpc(host string, port int, production bool) *NodeRpc + func (n *NodeRpc) Close() + func (n *NodeRpc) GetArbitratorGroup(apiKey, did, network, height string) map[string]interface{} + func (n *NodeRpc) GetBlockConfirm(apiKey, did, network, height string) map[string]interface{} + func (n *NodeRpc) GetBlockInfo(apiKey, did, network, chain, height string) map[string]interface{} + func (n *NodeRpc) GetCurrentArbitratorGroup(apiKey, did, network string) map[string]interface{} + func (n *NodeRpc) GetCurrentArbitratorsInfo(apiKey, did, network string) map[string]interface{} + func (n *NodeRpc) GetCurrentBalance(apiKey, did, network, chain, address string) interface{} + func (n *NodeRpc) GetCurrentBlockConfirm(apiKey, did, network string) map[string]interface{} + func (n *NodeRpc) GetCurrentBlockInfo(apiKey, did, network, chain string) map[string]interface{} + func (n *NodeRpc) GetCurrentCrcCandidates(apiKey, did, network string) map[string]interface{} + func (n *NodeRpc) GetCurrentCrcCouncil(apiKey, did, network string) map[string]interface{} + func (n *NodeRpc) GetCurrentDposSupernodes(apiKey, did, network string) map[string]interface{} + func (n *NodeRpc) GetCurrentHeight(apiKey, did, network, chain string) string + func (n *NodeRpc) GetCurrentMiningInfo(apiKey, did, network string) map[string]interface{} + func (n *NodeRpc) GetCurrentNodeState(apiKey, did, network, chain string) map[string]interface{} + func (n *NodeRpc) RpcMethod(apiKey, did, network, chain, method string, params interface{}) interface{} + type Response struct + Output string + Status bool + StatusMessage string + type ResponseData struct + Output []byte + Status bool + StatusMessage string + type SidechainEth struct + Connection *grpc.ClientConn + func NewSidechainEth(host string, port int, production bool) *SidechainEth + func (e *SidechainEth) Close() + func (e *SidechainEth) DeployEthContract(apiKey, did, network, address, privateKey string, gas int, fileName string) Response + func (e *SidechainEth) WatchEthContract(apiKey, did, network, contractAddress, contractName, contractCodeHash string) Response + type SolidityListener struct + ContractName string + func (s *SolidityListener) EnterContractDefinition(ctx *parser.ContractDefinitionContext) + type Wallet struct + Connection *grpc.ClientConn + func NewWallet(host string, port int, production bool) *Wallet + func (w *Wallet) Close() + func (w *Wallet) CreateWallet(apiKey, did, network string) Response + func (w *Wallet) RequestELA(apiKey, did, chain, address string) Response Other modules containing this package github.com/cyber-republic/go-grpc-adenine