Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KB = uint64(1024)
View Source
var Startup bool
Functions ¶
This section is empty.
Types ¶
type AuditCommand ¶
type AuditCommand struct { }
func (*AuditCommand) Execute ¶
func (ec *AuditCommand) Execute(args []string) error
type BackupCommand ¶
type BackupCommand struct { }
func (*BackupCommand) Execute ¶
func (ec *BackupCommand) Execute(args []string) error
type ConfigCommand ¶
type ConfigCommand struct { }
func (*ConfigCommand) Execute ¶
func (ec *ConfigCommand) Execute(args []string) error
type CreateCommand ¶
type CreateCommand struct { Account string `` /* 135-byte string literal not displayed */ // Conf string `short:"c" long:"Conf" description:"Name of the conf file" required:"Y"` // DBDir string `short:"b" long:"DBDir" description:"Path for persistance databases" required:"Y"` Raptor int `` /* 237-byte string literal not displayed */ PortBase int `` /* 162-byte string literal not displayed */ WalletIP string `` /* 178-byte string literal not displayed */ WalletPort int `long:"WalletPort" short:"P" description:"IMACredit Wallets's RPCPort setting." default:"64096" env:"ARCHIT_WALLETPORT"` WalletUser string `` /* 147-byte string literal not displayed */ WalletPassword string `` /* 163-byte string literal not displayed */ Pretend bool `short:"p" long:"Pretend" description:"Display results instead of actually creating the configuration file"` Silent bool `short:"s" long:"Silent" description:"Do not display contents of configuration file while creating"` MinFreeSpace int `` /* 142-byte string literal not displayed */ DataDir string `` /* 128-byte string literal not displayed */ }
func (*CreateCommand) Execute ¶
func (ec *CreateCommand) Execute(args []string) error
type FarmCommand ¶
type FarmCommand struct { SeedMode bool `short:"S" long:"SeedMode" description:"Set Seed mode and bypass some checks & Wallet activity" enn:"ARCHIT_SEED"` PortBase int `` /* 180-byte string literal not displayed */ WalletAddr string `` /* 190-byte string literal not displayed */ WalletIP string `` /* 178-byte string literal not displayed */ WalletPort int `long:"WalletPort" short:"P" description:"IMACredit Wallets's RPCPort setting." default:"64096" env:"ARCHIT_WALLETPORT"` WalletUser string `` /* 156-byte string literal not displayed */ WalletPassword string `` /* 181-byte string literal not displayed */ MinFreeSpace int `` /* 138-byte string literal not displayed */ DataDir string `long:"DataDir" short:"D" default:"~/ArchitData" description:"Directory farmed data should be stored in" env:"ARCHIT_DATADIR"` }
func (*FarmCommand) Execute ¶
func (ec *FarmCommand) Execute(args []string) error
type GetCommand ¶
type GetCommand struct { }
func (*GetCommand) Execute ¶
func (ec *GetCommand) Execute(args []string) error
type HelpCommand ¶
type HelpCommand struct { }
func (*HelpCommand) Execute ¶
func (ec *HelpCommand) Execute(args []string) error
type ListCommand ¶
type ListCommand struct { }
func (*ListCommand) Execute ¶
func (ec *ListCommand) Execute(args []string) error
type PeerinfoCommand ¶
type PeerinfoCommand struct { PortBase int `` /* 136-byte string literal not displayed */ SortByRep bool `short:"S" long:"SortByRep" description:"Displays sorted by Reputation instead of the default sorting by IP Address"` Raw bool `short:"R" long:"Raw" description:"No sorting, no header, just output"` }
func (*PeerinfoCommand) Execute ¶
func (ec *PeerinfoCommand) Execute(args []string) error
type PingCommand ¶
type PingCommand struct { Internal bool `short:"i" long:"Internal" description:"Ping the internal server"` External bool `short:"e" long:"External" description:"Ping the public facing server"` TCP bool `short:"t" long:"TCP" description:"Ping server via TCP address"` PortBase int `` /* 180-byte string literal not displayed */ }
func (*PingCommand) Execute ¶
func (ec *PingCommand) Execute(args []string) error
type SendCommand ¶
type SendCommand struct { Account string `short:"A" long:"Account" description:"IMACredit wallet account name to use for payment" default:"Archit"` Chaos bool `` /* 217-byte string literal not displayed */ Raptor int `` /* 240-byte string literal not displayed */ KeyPass string `` /* 155-byte string literal not displayed */ KeyPIN int `` /* 129-byte string literal not displayed */ FileName string `short:"F" long:"FileName" description:"File to send. Will prompt if omitted" default:"" env:"ARCHIT_FILENAME"` }
func (*SendCommand) Execute ¶
func (ec *SendCommand) Execute(args []string) error
type SettingsCommand ¶
type SettingsCommand struct {
NoHide bool `short:"s" long:"ShowPasswords" description:"Show passwords" env:"ARCHIT_NOHIDE"`
}
func (*SettingsCommand) Execute ¶
func (ec *SettingsCommand) Execute(args []string) error
type StatusCommand ¶
type StatusCommand struct { PortBase int `` /* 186-byte string literal not displayed */ WalletAddr string `` /* 190-byte string literal not displayed */ WalletIP string `` /* 178-byte string literal not displayed */ WalletPort int `long:"WalletPort" short:"P" description:"IMACredit Wallets's RPCPort setting." default:"64096" env:"ARCHIT_WALLETPORT"` WalletUser string `` /* 156-byte string literal not displayed */ WalletPassword string `` /* 181-byte string literal not displayed */ }
func (*StatusCommand) Execute ¶
func (ec *StatusCommand) Execute(args []string) error
type TestCommand ¶
type TestCommand struct { }
func (*TestCommand) Execute ¶
func (ec *TestCommand) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.