-
Notifications
You must be signed in to change notification settings - Fork 71
/
store.go
34 lines (31 loc) · 1.25 KB
/
store.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package storage
import (
"github.com/bittorrent/go-btfs/core/commands/storage/announce"
"github.com/bittorrent/go-btfs/core/commands/storage/challenge"
"github.com/bittorrent/go-btfs/core/commands/storage/contracts"
"github.com/bittorrent/go-btfs/core/commands/storage/hosts"
"github.com/bittorrent/go-btfs/core/commands/storage/info"
"github.com/bittorrent/go-btfs/core/commands/storage/path"
"github.com/bittorrent/go-btfs/core/commands/storage/stats"
"github.com/bittorrent/go-btfs/core/commands/storage/upload/upload"
cmds "github.com/bittorrent/go-btfs-cmds"
)
var StorageCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "Interact with storage services on BTFS.",
ShortDescription: `
Storage services include client upload operations, host storage operations,
host information sync/display operations, and BTT payment-related routines.`,
},
Subcommands: map[string]*cmds.Command{
"upload": upload.StorageUploadCmd,
"hosts": hosts.StorageHostsCmd,
"info": info.StorageInfoCmd,
"announce": announce.StorageAnnounceCmd,
"challenge": challenge.StorageChallengeCmd,
"stats": stats.StorageStatsCmd,
"contracts": contracts.StorageContractsCmd,
"path": path.PathCmd,
"dcrepair": upload.StorageDcRepairRouterCmd,
},
}