rpc

package
v1.68.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(name string, s types.RPCServer)

Init init grpc param

Types

type Grpc

type Grpc struct {
	// contains filtered or unexported fields
}

Grpc grpc struct

type Jrpc

type Jrpc struct {
	// contains filtered or unexported fields
}

Jrpc json rpc struct

func (*Jrpc) CallContract

func (j *Jrpc) CallContract(param *types2.WasmCall, result *interface{}) error

func (*Jrpc) CheckContract

func (j *Jrpc) CheckContract(param *types2.QueryCheckContract, result *interface{}) error

func (*Jrpc) CreateContract

func (j *Jrpc) CreateContract(param *types2.WasmCreate, result *interface{}) error

Jump to

Keyboard shortcuts

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