Documentation ¶
Index ¶
- func EnsureFile(filename string) error
- func SimpleCmd(cmdString ...string) (output string, err error)
- type Bitcoind
- type BitmarkCli
- func (bitmarkCli *BitmarkCli) Finalise() error
- func (bitmarkCli *BitmarkCli) Generate() ([]byte, error)
- func (bitmarkCli *BitmarkCli) Info(bitmarkCliConfigFile string) ([]byte, error)
- func (bitmarkCli *BitmarkCli) Initialise() error
- func (bitmarkCli *BitmarkCli) Issue(bitmarkCliIssue BitmarkCliIssueType) ([]byte, error)
- func (bitmarkCli *BitmarkCli) KeyPair(bitmarkCliKeyPair BitmarkCliKeyPairType, bitmarkCliConfigFile string) ([]byte, error)
- func (bitmarkCli *BitmarkCli) Setup(bitmarkCliSetup BitmarkCliSetupType, filePath string, ...) ([]byte, error)
- func (bitmarkCli *BitmarkCli) Transfer(bitmarkCliTransfer BitmarkCliTransferType) ([]byte, error)
- type BitmarkCliIssueType
- type BitmarkCliKeyPairType
- type BitmarkCliSetupType
- type BitmarkCliTransferType
- type BitmarkConsole
- func (bitmarkConsole *BitmarkConsole) Finalise() error
- func (bitmarkConsole *BitmarkConsole) Initialise(binFile string) error
- func (bitmarkConsole *BitmarkConsole) IsRunning() bool
- func (bitmarkConsole *BitmarkConsole) Port() string
- func (bitmarkConsole *BitmarkConsole) StartBitmarkConsole() error
- func (bitmarkConsole *BitmarkConsole) StopBitmarkConsole() error
- type BitmarkPay
- func (bitmarkPay *BitmarkPay) Decrypt(bitmarkPayType BitmarkPayType) error
- func (bitmarkPay *BitmarkPay) Encrypt(bitmarkPayType BitmarkPayType) error
- func (bitmarkPay *BitmarkPay) Finalise() error
- func (bitmarkPay *BitmarkPay) GetBitmarkPayJobHash() string
- func (bitmarkPay *BitmarkPay) GetBitmarkPayJobResult(bitmarkPayType BitmarkPayType) ([]byte, error)
- func (bitmarkPay *BitmarkPay) GetBitmarkPayJobType(hashString string) string
- func (bitmarkPay *BitmarkPay) Info(bitmarkPayType BitmarkPayType) error
- func (bitmarkPay *BitmarkPay) Initialise(binFile string) error
- func (bitmarkPay *BitmarkPay) Kill() error
- func (bitmarkPay *BitmarkPay) Pay(bitmarkPayType BitmarkPayType) error
- func (bitmarkPay *BitmarkPay) Restore(bitmarkPayType BitmarkPayType) error
- func (bitmarkPay *BitmarkPay) Status(hashString string) (string, error)
- type BitmarkPayInterface
- type BitmarkPayJob
- type BitmarkPayType
- type Bitmarkd
- func (bitmarkd *Bitmarkd) Connect(connect string) (net.Conn, error)
- func (bitmarkd *Bitmarkd) Finalise() error
- func (bitmarkd *Bitmarkd) GetInfo(client *netrpc.Client) (*rpc.InfoReply, error)
- func (bitmarkd *Bitmarkd) Initialise(configFile string) error
- func (bitmarkd *Bitmarkd) IsRunning() bool
- func (bitmarkd *Bitmarkd) Run(args interface{}, shutdown <-chan struct{})
- func (bitmarkd *Bitmarkd) Setup(chain string, webguiConfigFile string, ...) error
- type MockBitmarkPay
- func (mock *MockBitmarkPay) Encrypt(bitmarkPayType BitmarkPayType) error
- func (mock *MockBitmarkPay) GetBitmarkPayJobHash() string
- func (mock *MockBitmarkPay) GetBitmarkPayJobResult(bitmarkPayType BitmarkPayType) ([]byte, error)
- func (mock *MockBitmarkPay) GetBitmarkPayJobType(hashString string) string
- func (mock *MockBitmarkPay) Info(bitmarkPayType BitmarkPayType) error
- func (mock *MockBitmarkPay) Kill() error
- func (mock *MockBitmarkPay) Pay(bitmarkPayType BitmarkPayType) error
- func (mock *MockBitmarkPay) Restore(bitmarkPayType BitmarkPayType) error
- func (mock *MockBitmarkPay) Status(hashString string) string
- type Prooferd
- func (prooferd *Prooferd) Finalise() error
- func (prooferd *Prooferd) Initialise(configFile string) error
- func (prooferd *Prooferd) IsRunning() bool
- func (prooferd *Prooferd) Run(args interface{}, shutdown <-chan struct{})
- func (prooferd *Prooferd) Setup(chain string, webguiConfigFile string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureFile ¶
Types ¶
type Bitcoind ¶
func (*Bitcoind) Initialise ¶
type BitmarkCli ¶
func (*BitmarkCli) Finalise ¶
func (bitmarkCli *BitmarkCli) Finalise() error
func (*BitmarkCli) Generate ¶
func (bitmarkCli *BitmarkCli) Generate() ([]byte, error)
func (*BitmarkCli) Info ¶
func (bitmarkCli *BitmarkCli) Info(bitmarkCliConfigFile string) ([]byte, error)
func (*BitmarkCli) Initialise ¶
func (bitmarkCli *BitmarkCli) Initialise() error
func (*BitmarkCli) Issue ¶
func (bitmarkCli *BitmarkCli) Issue(bitmarkCliIssue BitmarkCliIssueType) ([]byte, error)
func (*BitmarkCli) KeyPair ¶
func (bitmarkCli *BitmarkCli) KeyPair(bitmarkCliKeyPair BitmarkCliKeyPairType, bitmarkCliConfigFile string) ([]byte, error)
func (*BitmarkCli) Setup ¶
func (bitmarkCli *BitmarkCli) Setup(bitmarkCliSetup BitmarkCliSetupType, filePath string, bitmarkWebguiConfig *configuration.Configuration) ([]byte, error)
func (*BitmarkCli) Transfer ¶
func (bitmarkCli *BitmarkCli) Transfer(bitmarkCliTransfer BitmarkCliTransferType) ([]byte, error)
type BitmarkCliIssueType ¶
type BitmarkCliKeyPairType ¶
type BitmarkCliKeyPairType struct {
Password string `json:"password"`
}
type BitmarkCliSetupType ¶
type BitmarkCliTransferType ¶
type BitmarkConsole ¶
func (*BitmarkConsole) Finalise ¶
func (bitmarkConsole *BitmarkConsole) Finalise() error
func (*BitmarkConsole) Initialise ¶
func (bitmarkConsole *BitmarkConsole) Initialise(binFile string) error
func (*BitmarkConsole) IsRunning ¶
func (bitmarkConsole *BitmarkConsole) IsRunning() bool
func (*BitmarkConsole) Port ¶
func (bitmarkConsole *BitmarkConsole) Port() string
func (*BitmarkConsole) StartBitmarkConsole ¶
func (bitmarkConsole *BitmarkConsole) StartBitmarkConsole() error
func (*BitmarkConsole) StopBitmarkConsole ¶
func (bitmarkConsole *BitmarkConsole) StopBitmarkConsole() error
type BitmarkPay ¶
func (*BitmarkPay) Decrypt ¶
func (bitmarkPay *BitmarkPay) Decrypt(bitmarkPayType BitmarkPayType) error
func (*BitmarkPay) Encrypt ¶
func (bitmarkPay *BitmarkPay) Encrypt(bitmarkPayType BitmarkPayType) error
func (*BitmarkPay) Finalise ¶
func (bitmarkPay *BitmarkPay) Finalise() error
func (*BitmarkPay) GetBitmarkPayJobHash ¶
func (bitmarkPay *BitmarkPay) GetBitmarkPayJobHash() string
func (*BitmarkPay) GetBitmarkPayJobResult ¶
func (bitmarkPay *BitmarkPay) GetBitmarkPayJobResult(bitmarkPayType BitmarkPayType) ([]byte, error)
func (*BitmarkPay) GetBitmarkPayJobType ¶
func (bitmarkPay *BitmarkPay) GetBitmarkPayJobType(hashString string) string
func (*BitmarkPay) Info ¶
func (bitmarkPay *BitmarkPay) Info(bitmarkPayType BitmarkPayType) error
func (*BitmarkPay) Initialise ¶
func (bitmarkPay *BitmarkPay) Initialise(binFile string) error
func (*BitmarkPay) Kill ¶
func (bitmarkPay *BitmarkPay) Kill() error
func (*BitmarkPay) Pay ¶
func (bitmarkPay *BitmarkPay) Pay(bitmarkPayType BitmarkPayType) error
func (*BitmarkPay) Restore ¶
func (bitmarkPay *BitmarkPay) Restore(bitmarkPayType BitmarkPayType) error
type BitmarkPayInterface ¶
type BitmarkPayInterface interface { Encrypt(BitmarkPayType) error Decrypt(BitmarkPayType) error Info(BitmarkPayType) error Pay(BitmarkPayType) error Restore(BitmarkPayType) error Status(string) (string, error) Kill() error GetBitmarkPayJobHash() string GetBitmarkPayJobResult(BitmarkPayType) ([]byte, error) GetBitmarkPayJobType(string) string }
type BitmarkPayJob ¶
type BitmarkPayJob struct {
// contains filtered or unexported fields
}
type BitmarkPayType ¶
type Bitmarkd ¶
func (*Bitmarkd) Initialise ¶
func (*Bitmarkd) Setup ¶
func (bitmarkd *Bitmarkd) Setup(chain string, webguiConfigFile string, webguiConfig *configuration.Configuration) error
type MockBitmarkPay ¶
func (*MockBitmarkPay) Encrypt ¶
func (mock *MockBitmarkPay) Encrypt(bitmarkPayType BitmarkPayType) error
func (*MockBitmarkPay) GetBitmarkPayJobHash ¶
func (mock *MockBitmarkPay) GetBitmarkPayJobHash() string
func (*MockBitmarkPay) GetBitmarkPayJobResult ¶
func (mock *MockBitmarkPay) GetBitmarkPayJobResult(bitmarkPayType BitmarkPayType) ([]byte, error)
func (*MockBitmarkPay) GetBitmarkPayJobType ¶
func (mock *MockBitmarkPay) GetBitmarkPayJobType(hashString string) string
func (*MockBitmarkPay) Info ¶
func (mock *MockBitmarkPay) Info(bitmarkPayType BitmarkPayType) error
func (*MockBitmarkPay) Kill ¶
func (mock *MockBitmarkPay) Kill() error
func (*MockBitmarkPay) Pay ¶
func (mock *MockBitmarkPay) Pay(bitmarkPayType BitmarkPayType) error
func (*MockBitmarkPay) Restore ¶
func (mock *MockBitmarkPay) Restore(bitmarkPayType BitmarkPayType) error
func (*MockBitmarkPay) Status ¶
func (mock *MockBitmarkPay) Status(hashString string) string
type Prooferd ¶
func (*Prooferd) Initialise ¶
func (*Prooferd) Setup ¶
func (prooferd *Prooferd) Setup(chain string, webguiConfigFile string, webguiConfig *configuration.Configuration) error
Click to show internal directories.
Click to hide internal directories.