28 lines
557 B
Go
28 lines
557 B
Go
package v0api
|
|
|
|
import (
|
|
"github.com/filecoin-project/lotus/api"
|
|
)
|
|
|
|
type Common = api.Common
|
|
type CommonStruct = api.CommonStruct
|
|
type CommonStub = api.CommonStub
|
|
|
|
type Gateway = api.Gateway
|
|
|
|
type StorageMiner = api.StorageMiner
|
|
type StorageMinerStruct = api.StorageMinerStruct
|
|
|
|
type Worker = api.Worker
|
|
type WorkerStruct = api.WorkerStruct
|
|
|
|
type Wallet = api.Wallet
|
|
|
|
func PermissionedStorMinerAPI(a StorageMiner) StorageMiner {
|
|
return api.PermissionedStorMinerAPI(a)
|
|
}
|
|
|
|
func PermissionedWorkerAPI(a Worker) Worker {
|
|
return api.PermissionedWorkerAPI(a)
|
|
}
|