Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseClient ¶
func ReleaseClient(c Client)
func ReleaseInstance ¶
func ReleaseInstance(i Instance)
Types ¶
type Client ¶
type Client interface { Endpoint() string bind.ContractBackend Counter // contains filtered or unexported methods }
func NewEthClient ¶
type Counter ¶
type Counter interface { RefCount() int32 // contains filtered or unexported methods }
type Instance ¶
type Instance interface { Name() string Key() string Address() common.Address Client() Client ABI() abi.ABI Counter ReadContext(ctx context.Context, method string, args ...any) (any, error) Read(method string, args ...any) (any, error) ReadResultContext(ctx context.Context, method string, res any, args ...any) error ReadResult(method string, res any, args ...any) error }
Click to show internal directories.
Click to hide internal directories.