Documentation ¶
Index ¶
- Constants
- type Bfs
- type BfsCaller
- func (_Bfs *BfsCaller) List(opts *bind.CallOpts, absolutePath string, offset *big.Int, limit *big.Int) (*big.Int, []BfsInfo, error)
- func (_Bfs *BfsCaller) List0(opts *bind.CallOpts, absolutePath string) (int32, []BfsInfo, error)
- func (_Bfs *BfsCaller) Readlink(opts *bind.CallOpts, absolutePath string) (common.Address, error)
- type BfsCallerRaw
- type BfsCallerSession
- type BfsFilterer
- type BfsInfo
- type BfsRaw
- func (_Bfs *BfsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Bfs *BfsRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type BfsSession
- func (_Bfs *BfsSession) AsyncLink(handler func(*types.Receipt, error), absolutePath string, _address string, ...) (*types.Transaction, error)
- func (_Bfs *BfsSession) AsyncLink0(handler func(*types.Receipt, error), name string, version string, ...) (*types.Transaction, error)
- func (_Bfs *BfsSession) AsyncMkdir(handler func(*types.Receipt, error), absolutePath string) (*types.Transaction, error)
- func (_Bfs *BfsSession) AsyncRebuildBfs(handler func(*types.Receipt, error)) (*types.Transaction, error)
- func (_Bfs *BfsSession) AsyncTouch(handler func(*types.Receipt, error), absolutePath string, fileType string) (*types.Transaction, error)
- func (_Bfs *BfsSession) Link(absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsSession) Link0(name string, version string, _address string, _abi string) (int32, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsSession) List(absolutePath string, offset *big.Int, limit *big.Int) (*big.Int, []BfsInfo, error)
- func (_Bfs *BfsSession) List0(absolutePath string) (int32, []BfsInfo, error)
- func (_Bfs *BfsSession) Mkdir(absolutePath string) (int32, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsSession) Readlink(absolutePath string) (common.Address, error)
- func (_Bfs *BfsSession) RebuildBfs() (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsSession) Touch(absolutePath string, fileType string) (int32, *types.Transaction, *types.Receipt, error)
- type BfsTransactor
- func (_Bfs *BfsTransactor) AsyncLink(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_Bfs *BfsTransactor) AsyncLink0(handler func(*types.Receipt, error), opts *bind.TransactOpts, name string, ...) (*types.Transaction, error)
- func (_Bfs *BfsTransactor) AsyncMkdir(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_Bfs *BfsTransactor) AsyncRebuildBfs(handler func(*types.Receipt, error), opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Bfs *BfsTransactor) AsyncTouch(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_Bfs *BfsTransactor) Link(opts *bind.TransactOpts, absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsTransactor) Link0(opts *bind.TransactOpts, name string, version string, _address string, ...) (int32, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsTransactor) Mkdir(opts *bind.TransactOpts, absolutePath string) (int32, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsTransactor) RebuildBfs(opts *bind.TransactOpts) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsTransactor) Touch(opts *bind.TransactOpts, absolutePath string, fileType string) (int32, *types.Transaction, *types.Receipt, error)
- type BfsTransactorRaw
- type BfsTransactorSession
- func (_Bfs *BfsTransactorSession) AsyncLink(handler func(*types.Receipt, error), absolutePath string, _address string, ...) (*types.Transaction, error)
- func (_Bfs *BfsTransactorSession) AsyncLink0(handler func(*types.Receipt, error), name string, version string, ...) (*types.Transaction, error)
- func (_Bfs *BfsTransactorSession) AsyncMkdir(handler func(*types.Receipt, error), absolutePath string) (*types.Transaction, error)
- func (_Bfs *BfsTransactorSession) AsyncRebuildBfs(handler func(*types.Receipt, error)) (*types.Transaction, error)
- func (_Bfs *BfsTransactorSession) AsyncTouch(handler func(*types.Receipt, error), absolutePath string, fileType string) (*types.Transaction, error)
- func (_Bfs *BfsTransactorSession) Link(absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsTransactorSession) Link0(name string, version string, _address string, _abi string) (int32, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsTransactorSession) Mkdir(absolutePath string) (int32, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsTransactorSession) RebuildBfs() (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_Bfs *BfsTransactorSession) Touch(absolutePath string, fileType string) (int32, *types.Transaction, *types.Receipt, error)
- type Service
- func (service *Service) AsyncLink(handler func(*types.Receipt, error), absolutePath string, _address string, ...) (*types.Transaction, error)
- func (service *Service) AsyncLink0(handler func(*types.Receipt, error), name string, version string, ...) (*types.Transaction, error)
- func (service *Service) AsyncMkdir(handler func(*types.Receipt, error), absolutePath string) (*types.Transaction, error)
- func (service *Service) Link(absolutePath string, _address string, _abi string) (int64, error)
- func (service *Service) Link0(name string, version string, _address string, _abi string) (int64, error)
- func (service *Service) List(absolutePath string, offset *big.Int, limit *big.Int) (int64, []BfsInfo, error)
- func (service *Service) List0(absolutePath string) (int64, []BfsInfo, error)
- func (service *Service) Mkdir(absolutePath string) (int64, error)
- func (service *Service) Readlink(absolutePath string) (common.Address, error)
Constants ¶
const BfsABI = "" /* 3040-byte string literal not displayed */
BfsABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bfs ¶
type Bfs struct { BfsCaller // Read-only binding to the contract BfsTransactor // Write-only binding to the contract BfsFilterer // Log filterer for contract events }
Bfs is an auto generated Go binding around a Solidity contract.
type BfsCaller ¶
type BfsCaller struct {
// contains filtered or unexported fields
}
BfsCaller is an auto generated read-only Go binding around a Solidity contract.
func NewBfsCaller ¶
NewBfsCaller creates a new read-only instance of Bfs, bound to a specific deployed contract.
func (*BfsCaller) List ¶
func (_Bfs *BfsCaller) List(opts *bind.CallOpts, absolutePath string, offset *big.Int, limit *big.Int) (*big.Int, []BfsInfo, error)
List is a free data retrieval call binding the contract method 0x912f3095.
Solidity: function list(string absolutePath, uint256 offset, uint256 limit) constant returns(int256, []BfsInfo)
type BfsCallerRaw ¶
type BfsCallerRaw struct {
Contract *BfsCaller // Generic read-only contract binding to access the raw methods on
}
BfsCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*BfsCallerRaw) Call ¶
func (_Bfs *BfsCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type BfsCallerSession ¶
type BfsCallerSession struct { Contract *BfsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BfsCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
func (*BfsCallerSession) List ¶
func (_Bfs *BfsCallerSession) List(absolutePath string, offset *big.Int, limit *big.Int) (*big.Int, []BfsInfo, error)
List is a free data retrieval call binding the contract method 0x912f3095.
Solidity: function list(string absolutePath, uint256 offset, uint256 limit) constant returns(int256, []BfsInfo)
type BfsFilterer ¶
type BfsFilterer struct {
// contains filtered or unexported fields
}
BfsFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewBfsFilterer ¶
func NewBfsFilterer(address common.Address, filterer bind.ContractFilterer) (*BfsFilterer, error)
NewBfsFilterer creates a new log filterer instance of Bfs, bound to a specific deployed contract.
type BfsRaw ¶
type BfsRaw struct {
Contract *Bfs // Generic contract binding to access the raw methods on
}
BfsRaw is an auto generated low-level Go binding around a Solidity contract.
func (*BfsRaw) Call ¶
func (_Bfs *BfsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*BfsRaw) TransactWithResult ¶
func (_Bfs *BfsRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*BfsRaw) Transfer ¶
func (_Bfs *BfsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type BfsSession ¶
type BfsSession struct { Contract *Bfs // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BfsSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*BfsSession) AsyncLink ¶
func (_Bfs *BfsSession) AsyncLink(handler func(*types.Receipt, error), absolutePath string, _address string, _abi string) (*types.Transaction, error)
func (*BfsSession) AsyncLink0 ¶
func (*BfsSession) AsyncMkdir ¶
func (_Bfs *BfsSession) AsyncMkdir(handler func(*types.Receipt, error), absolutePath string) (*types.Transaction, error)
func (*BfsSession) AsyncRebuildBfs ¶
func (_Bfs *BfsSession) AsyncRebuildBfs(handler func(*types.Receipt, error)) (*types.Transaction, error)
func (*BfsSession) AsyncTouch ¶
func (_Bfs *BfsSession) AsyncTouch(handler func(*types.Receipt, error), absolutePath string, fileType string) (*types.Transaction, error)
func (*BfsSession) Link ¶
func (_Bfs *BfsSession) Link(absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)
Link is a paid mutator transaction binding the contract method 0x8df118af.
Solidity: function link(string absolutePath, string _address, string _abi) returns(int256)
func (*BfsSession) Link0 ¶
func (_Bfs *BfsSession) Link0(name string, version string, _address string, _abi string) (int32, *types.Transaction, *types.Receipt, error)
Link0 is a paid mutator transaction binding the contract method 0xe19c2fcf.
Solidity: function link(string name, string version, string _address, string _abi) returns(int32)
func (*BfsSession) List ¶
func (_Bfs *BfsSession) List(absolutePath string, offset *big.Int, limit *big.Int) (*big.Int, []BfsInfo, error)
List is a free data retrieval call binding the contract method 0x912f3095.
Solidity: function list(string absolutePath, uint256 offset, uint256 limit) constant returns(int256, []BfsInfo)
func (*BfsSession) List0 ¶
func (_Bfs *BfsSession) List0(absolutePath string) (int32, []BfsInfo, error)
List0 is a free data retrieval call binding the contract method 0xfe42bf1a.
Solidity: function list(string absolutePath) constant returns(int32, []BfsInfo)
func (*BfsSession) Mkdir ¶
func (_Bfs *BfsSession) Mkdir(absolutePath string) (int32, *types.Transaction, *types.Receipt, error)
Mkdir is a paid mutator transaction binding the contract method 0x876b0eb2.
Solidity: function mkdir(string absolutePath) returns(int32)
func (*BfsSession) Readlink ¶
func (_Bfs *BfsSession) Readlink(absolutePath string) (common.Address, error)
Readlink is a free data retrieval call binding the contract method 0x1d05a836.
Solidity: function readlink(string absolutePath) constant returns(address)
func (*BfsSession) RebuildBfs ¶
func (_Bfs *BfsSession) RebuildBfs() (*big.Int, *types.Transaction, *types.Receipt, error)
RebuildBfs is a paid mutator transaction binding the contract method 0xa007e274.
Solidity: function rebuildBfs() returns(int256)
type BfsTransactor ¶
type BfsTransactor struct {
// contains filtered or unexported fields
}
BfsTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewBfsTransactor ¶
func NewBfsTransactor(address common.Address, transactor bind.ContractTransactor) (*BfsTransactor, error)
NewBfsTransactor creates a new write-only instance of Bfs, bound to a specific deployed contract.
func (*BfsTransactor) AsyncLink ¶
func (_Bfs *BfsTransactor) AsyncLink(handler func(*types.Receipt, error), opts *bind.TransactOpts, absolutePath string, _address string, _abi string) (*types.Transaction, error)
func (*BfsTransactor) AsyncLink0 ¶
func (_Bfs *BfsTransactor) AsyncLink0(handler func(*types.Receipt, error), opts *bind.TransactOpts, name string, version string, _address string, _abi string) (*types.Transaction, error)
func (*BfsTransactor) AsyncMkdir ¶
func (_Bfs *BfsTransactor) AsyncMkdir(handler func(*types.Receipt, error), opts *bind.TransactOpts, absolutePath string) (*types.Transaction, error)
func (*BfsTransactor) AsyncRebuildBfs ¶
func (_Bfs *BfsTransactor) AsyncRebuildBfs(handler func(*types.Receipt, error), opts *bind.TransactOpts) (*types.Transaction, error)
func (*BfsTransactor) AsyncTouch ¶
func (_Bfs *BfsTransactor) AsyncTouch(handler func(*types.Receipt, error), opts *bind.TransactOpts, absolutePath string, fileType string) (*types.Transaction, error)
func (*BfsTransactor) Link ¶
func (_Bfs *BfsTransactor) Link(opts *bind.TransactOpts, absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)
Link is a paid mutator transaction binding the contract method 0x8df118af.
Solidity: function link(string absolutePath, string _address, string _abi) returns(int256)
func (*BfsTransactor) Link0 ¶
func (_Bfs *BfsTransactor) Link0(opts *bind.TransactOpts, name string, version string, _address string, _abi string) (int32, *types.Transaction, *types.Receipt, error)
Link0 is a paid mutator transaction binding the contract method 0xe19c2fcf.
Solidity: function link(string name, string version, string _address, string _abi) returns(int32)
func (*BfsTransactor) Mkdir ¶
func (_Bfs *BfsTransactor) Mkdir(opts *bind.TransactOpts, absolutePath string) (int32, *types.Transaction, *types.Receipt, error)
Mkdir is a paid mutator transaction binding the contract method 0x876b0eb2.
Solidity: function mkdir(string absolutePath) returns(int32)
func (*BfsTransactor) RebuildBfs ¶
func (_Bfs *BfsTransactor) RebuildBfs(opts *bind.TransactOpts) (*big.Int, *types.Transaction, *types.Receipt, error)
RebuildBfs is a paid mutator transaction binding the contract method 0xa007e274.
Solidity: function rebuildBfs() returns(int256)
func (*BfsTransactor) Touch ¶
func (_Bfs *BfsTransactor) Touch(opts *bind.TransactOpts, absolutePath string, fileType string) (int32, *types.Transaction, *types.Receipt, error)
Touch is a paid mutator transaction binding the contract method 0x131ffcdd.
Solidity: function touch(string absolutePath, string fileType) returns(int32)
type BfsTransactorRaw ¶
type BfsTransactorRaw struct {
Contract *BfsTransactor // Generic write-only contract binding to access the raw methods on
}
BfsTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*BfsTransactorRaw) TransactWithResult ¶
func (_Bfs *BfsTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*BfsTransactorRaw) Transfer ¶
func (_Bfs *BfsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type BfsTransactorSession ¶
type BfsTransactorSession struct { Contract *BfsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BfsTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*BfsTransactorSession) AsyncLink ¶
func (_Bfs *BfsTransactorSession) AsyncLink(handler func(*types.Receipt, error), absolutePath string, _address string, _abi string) (*types.Transaction, error)
func (*BfsTransactorSession) AsyncLink0 ¶
func (*BfsTransactorSession) AsyncMkdir ¶
func (_Bfs *BfsTransactorSession) AsyncMkdir(handler func(*types.Receipt, error), absolutePath string) (*types.Transaction, error)
func (*BfsTransactorSession) AsyncRebuildBfs ¶
func (_Bfs *BfsTransactorSession) AsyncRebuildBfs(handler func(*types.Receipt, error)) (*types.Transaction, error)
func (*BfsTransactorSession) AsyncTouch ¶
func (_Bfs *BfsTransactorSession) AsyncTouch(handler func(*types.Receipt, error), absolutePath string, fileType string) (*types.Transaction, error)
func (*BfsTransactorSession) Link ¶
func (_Bfs *BfsTransactorSession) Link(absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)
Link is a paid mutator transaction binding the contract method 0x8df118af.
Solidity: function link(string absolutePath, string _address, string _abi) returns(int256)
func (*BfsTransactorSession) Link0 ¶
func (_Bfs *BfsTransactorSession) Link0(name string, version string, _address string, _abi string) (int32, *types.Transaction, *types.Receipt, error)
Link0 is a paid mutator transaction binding the contract method 0xe19c2fcf.
Solidity: function link(string name, string version, string _address, string _abi) returns(int32)
func (*BfsTransactorSession) Mkdir ¶
func (_Bfs *BfsTransactorSession) Mkdir(absolutePath string) (int32, *types.Transaction, *types.Receipt, error)
Mkdir is a paid mutator transaction binding the contract method 0x876b0eb2.
Solidity: function mkdir(string absolutePath) returns(int32)
func (*BfsTransactorSession) RebuildBfs ¶
func (_Bfs *BfsTransactorSession) RebuildBfs() (*big.Int, *types.Transaction, *types.Receipt, error)
RebuildBfs is a paid mutator transaction binding the contract method 0xa007e274.
Solidity: function rebuildBfs() returns(int256)
func (*BfsTransactorSession) Touch ¶
func (_Bfs *BfsTransactorSession) Touch(absolutePath string, fileType string) (int32, *types.Transaction, *types.Receipt, error)
Touch is a paid mutator transaction binding the contract method 0x131ffcdd.
Solidity: function touch(string absolutePath, string fileType) returns(int32)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewBfsService ¶
NewCnsService returns ptr of Service