stellar1

package
v1.0.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2018 License: BSD-3-Clause, BSD-3-Clause Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	KeybaseTransactionIDLen       = 16
	KeybaseTransactionIDSuffix    = 0x30
	KeybaseTransactionIDSuffixHex = "30"
)

Variables

View Source
var AccountModeMap = map[string]AccountMode{
	"NONE": 0,
	"USER": 1,
}
View Source
var AccountModeRevMap = map[AccountMode]string{
	0: "NONE",
	1: "USER",
}
View Source
var BundleVersionMap = map[string]BundleVersion{
	"V1": 1,
}
View Source
var BundleVersionRevMap = map[BundleVersion]string{
	1: "V1",
}
View Source
var PaymentStrategyMap = map[string]PaymentStrategy{
	"NONE":   0,
	"DIRECT": 1,
	"RELAY":  2,
}
View Source
var PaymentStrategyRevMap = map[PaymentStrategy]string{
	0: "NONE",
	1: "DIRECT",
	2: "RELAY",
}
View Source
var RelayDirectionMap = map[string]RelayDirection{
	"CLAIM": 0,
	"YANK":  1,
}
View Source
var RelayDirectionRevMap = map[RelayDirection]string{
	0: "CLAIM",
	1: "YANK",
}
View Source
var TransactionStatusMap = map[string]TransactionStatus{
	"NONE":            0,
	"PENDING":         1,
	"SUCCESS":         2,
	"ERROR_TRANSIENT": 3,
	"ERROR_PERMANENT": 4,
}
View Source
var TransactionStatusRevMap = map[TransactionStatus]string{
	0: "NONE",
	1: "PENDING",
	2: "SUCCESS",
	3: "ERROR_TRANSIENT",
	4: "ERROR_PERMANENT",
}

Functions

func BundleProtocol

func BundleProtocol(i BundleInterface) rpc.Protocol

func CommonProtocol

func CommonProtocol(i CommonInterface) rpc.Protocol

func FromTimeMs

func FromTimeMs(t TimeMs) time.Time

func LocalProtocol

func LocalProtocol(i LocalInterface) rpc.Protocol

func RemoteProtocol

func RemoteProtocol(i RemoteInterface) rpc.Protocol

Types

type AccountID

type AccountID string

func (AccountID) DeepCopy

func (o AccountID) DeepCopy() AccountID

func (AccountID) Eq

func (a AccountID) Eq(b AccountID) bool

func (AccountID) LossyAbbreviation

func (a AccountID) LossyAbbreviation() string

func (AccountID) String

func (a AccountID) String() string

type AccountMode

type AccountMode int
const (
	AccountMode_NONE AccountMode = 0
	AccountMode_USER AccountMode = 1
)

func (AccountMode) DeepCopy

func (o AccountMode) DeepCopy() AccountMode

func (AccountMode) String

func (e AccountMode) String() string

type AccountSeqnoArg

type AccountSeqnoArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
}

type Asset

type Asset struct {
	Type   string `codec:"type" json:"type"`
	Code   string `codec:"code" json:"code"`
	Issuer string `codec:"issuer" json:"issuer"`
}

func AssetNative

func AssetNative() Asset

func (Asset) DeepCopy

func (o Asset) DeepCopy() Asset

func (*Asset) IsNativeXLM

func (a *Asset) IsNativeXLM() bool

type Balance

type Balance struct {
	Asset  Asset  `codec:"asset" json:"asset"`
	Amount string `codec:"amount" json:"amount"`
	Limit  string `codec:"limit" json:"limit"`
}

func (Balance) DeepCopy

func (o Balance) DeepCopy() Balance

type BalancesArg

type BalancesArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
}

type BalancesLocalArg

type BalancesLocalArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type Bundle

type Bundle struct {
	Revision BundleRevision `codec:"revision" json:"revision"`
	Prev     Hash           `codec:"prev" json:"prev"`
	OwnHash  Hash           `codec:"ownHash" json:"ownHash"`
	Accounts []BundleEntry  `codec:"accounts" json:"accounts"`
}

func (Bundle) CheckInvariants

func (s Bundle) CheckInvariants() error

CheckInvariants checks that the bundle satisfies 1. No duplicate account IDs 2. At most one primary account

func (Bundle) DeepCopy

func (o Bundle) DeepCopy() Bundle

func (Bundle) PrimaryAccount

func (s Bundle) PrimaryAccount() (BundleEntry, error)

type BundleClient

type BundleClient struct {
	Cli rpc.GenericClient
}

type BundleEntry

type BundleEntry struct {
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Mode      AccountMode `codec:"mode" json:"mode"`
	IsPrimary bool        `codec:"isPrimary" json:"isPrimary"`
	Signers   []SecretKey `codec:"signers" json:"signers"`
	Name      string      `codec:"name" json:"name"`
}

func (BundleEntry) DeepCopy

func (o BundleEntry) DeepCopy() BundleEntry

type BundleInterface

type BundleInterface interface {
}

type BundleRevision

type BundleRevision uint64

func (BundleRevision) DeepCopy

func (o BundleRevision) DeepCopy() BundleRevision

type BundleSecretEntry

type BundleSecretEntry struct {
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Signers   []SecretKey `codec:"signers" json:"signers"`
	Name      string      `codec:"name" json:"name"`
}

func (BundleSecretEntry) DeepCopy

func (o BundleSecretEntry) DeepCopy() BundleSecretEntry

type BundleSecretV1

type BundleSecretV1 struct {
	VisibleHash Hash                `codec:"visibleHash" json:"visibleHash"`
	Accounts    []BundleSecretEntry `codec:"accounts" json:"accounts"`
}

func (BundleSecretV1) DeepCopy

func (o BundleSecretV1) DeepCopy() BundleSecretV1

type BundleSecretVersioned

type BundleSecretVersioned struct {
	Version__ BundleVersion   `codec:"version" json:"version"`
	V1__      *BundleSecretV1 `codec:"v1,omitempty" json:"v1,omitempty"`
}

func NewBundleSecretVersionedWithV1

func NewBundleSecretVersionedWithV1(v BundleSecretV1) BundleSecretVersioned

func (BundleSecretVersioned) DeepCopy

func (BundleSecretVersioned) V1

func (*BundleSecretVersioned) Version

func (o *BundleSecretVersioned) Version() (ret BundleVersion, err error)

type BundleVersion

type BundleVersion int
const (
	BundleVersion_V1 BundleVersion = 1
)

func (BundleVersion) DeepCopy

func (o BundleVersion) DeepCopy() BundleVersion

func (BundleVersion) String

func (e BundleVersion) String() string

type BundleVisibleEntry

type BundleVisibleEntry struct {
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Mode      AccountMode `codec:"mode" json:"mode"`
	IsPrimary bool        `codec:"isPrimary" json:"isPrimary"`
}

func (BundleVisibleEntry) DeepCopy

type BundleVisibleV1

type BundleVisibleV1 struct {
	Revision BundleRevision       `codec:"revision" json:"revision"`
	Prev     Hash                 `codec:"prev" json:"prev"`
	Accounts []BundleVisibleEntry `codec:"accounts" json:"accounts"`
}

func (BundleVisibleV1) DeepCopy

func (o BundleVisibleV1) DeepCopy() BundleVisibleV1

type CommonClient

type CommonClient struct {
	Cli rpc.GenericClient
}

type CommonInterface

type CommonInterface interface {
}

type EncryptedBundle

type EncryptedBundle struct {
	V   int                           `codec:"v" json:"v"`
	E   []byte                        `codec:"e" json:"e"`
	N   keybase1.BoxNonce             `codec:"n" json:"n"`
	Gen keybase1.PerUserKeyGeneration `codec:"gen" json:"gen"`
}

func (EncryptedBundle) DeepCopy

func (o EncryptedBundle) DeepCopy() EncryptedBundle

type EncryptedNote

type EncryptedNote struct {
	V         int               `codec:"v" json:"v"`
	E         []byte            `codec:"e" json:"e"`
	N         keybase1.BoxNonce `codec:"n" json:"n"`
	Sender    NoteRecipient     `codec:"sender" json:"sender"`
	Recipient *NoteRecipient    `codec:"recipient,omitempty" json:"recipient,omitempty"`
}

func (EncryptedNote) DeepCopy

func (o EncryptedNote) DeepCopy() EncryptedNote

type EncryptedRelaySecret

type EncryptedRelaySecret struct {
	V   int                           `codec:"v" json:"v"`
	E   []byte                        `codec:"e" json:"e"`
	N   keybase1.BoxNonce             `codec:"n" json:"n"`
	Gen keybase1.PerTeamKeyGeneration `codec:"gen" json:"gen"`
}

func (EncryptedRelaySecret) DeepCopy

type ExchangeRateLocalArg

type ExchangeRateLocalArg struct {
	Currency OutsideCurrencyCode `codec:"currency" json:"currency"`
}

type ExportSecretKeyLocalArg

type ExportSecretKeyLocalArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type Hash

type Hash []byte

func (Hash) DeepCopy

func (o Hash) DeepCopy() Hash

type ImportSecretKeyLocalArg

type ImportSecretKeyLocalArg struct {
	SecretKey   SecretKey `codec:"secretKey" json:"secretKey"`
	MakePrimary bool      `codec:"makePrimary" json:"makePrimary"`
}

type IsMasterKeyActiveArg

type IsMasterKeyActiveArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
}

type KeybaseTransactionID

type KeybaseTransactionID string

func KeybaseTransactionIDFromString

func KeybaseTransactionIDFromString(s string) (KeybaseTransactionID, error)

func (KeybaseTransactionID) DeepCopy

func (KeybaseTransactionID) String

func (k KeybaseTransactionID) String() string

type LocalClient

type LocalClient struct {
	Cli rpc.GenericClient
}

func (LocalClient) BalancesLocal

func (c LocalClient) BalancesLocal(ctx context.Context, accountID AccountID) (res []Balance, err error)

func (LocalClient) ExchangeRateLocal

func (c LocalClient) ExchangeRateLocal(ctx context.Context, currency OutsideCurrencyCode) (res OutsideExchangeRate, err error)

func (LocalClient) ExportSecretKeyLocal

func (c LocalClient) ExportSecretKeyLocal(ctx context.Context, accountID AccountID) (res SecretKey, err error)

func (LocalClient) ImportSecretKeyLocal

func (c LocalClient) ImportSecretKeyLocal(ctx context.Context, __arg ImportSecretKeyLocalArg) (err error)

func (LocalClient) OwnAccountLocal

func (c LocalClient) OwnAccountLocal(ctx context.Context, accountID AccountID) (res bool, err error)

func (LocalClient) PaymentDetailCLILocal

func (c LocalClient) PaymentDetailCLILocal(ctx context.Context, txID string) (res PaymentCLILocal, err error)

func (LocalClient) RecentPaymentsCLILocal

func (c LocalClient) RecentPaymentsCLILocal(ctx context.Context, accountID *AccountID) (res []PaymentCLILocal, err error)

func (LocalClient) SendLocal

func (c LocalClient) SendLocal(ctx context.Context, __arg SendLocalArg) (res PaymentResult, err error)

func (LocalClient) SetDisplayCurrency

func (c LocalClient) SetDisplayCurrency(ctx context.Context, __arg SetDisplayCurrencyArg) (err error)

func (LocalClient) WalletDumpLocal

func (c LocalClient) WalletDumpLocal(ctx context.Context) (res Bundle, err error)

func (LocalClient) WalletGetLocalAccounts

func (c LocalClient) WalletGetLocalAccounts(ctx context.Context) (res []LocalOwnAccount, err error)

func (LocalClient) WalletInitLocal

func (c LocalClient) WalletInitLocal(ctx context.Context) (err error)

type LocalInterface

type LocalInterface interface {
	BalancesLocal(context.Context, AccountID) ([]Balance, error)
	SendLocal(context.Context, SendLocalArg) (PaymentResult, error)
	RecentPaymentsCLILocal(context.Context, *AccountID) ([]PaymentCLILocal, error)
	PaymentDetailCLILocal(context.Context, string) (PaymentCLILocal, error)
	WalletInitLocal(context.Context) error
	WalletDumpLocal(context.Context) (Bundle, error)
	WalletGetLocalAccounts(context.Context) ([]LocalOwnAccount, error)
	OwnAccountLocal(context.Context, AccountID) (bool, error)
	ImportSecretKeyLocal(context.Context, ImportSecretKeyLocalArg) error
	ExportSecretKeyLocal(context.Context, AccountID) (SecretKey, error)
	SetDisplayCurrency(context.Context, SetDisplayCurrencyArg) error
	ExchangeRateLocal(context.Context, OutsideCurrencyCode) (OutsideExchangeRate, error)
}

type LocalOwnAccount

type LocalOwnAccount struct {
	AccountID    AccountID            `codec:"accountID" json:"accountID"`
	IsPrimary    bool                 `codec:"isPrimary" json:"isPrimary"`
	Name         string               `codec:"name" json:"name"`
	Balance      []Balance            `codec:"balance" json:"balance"`
	ExchangeRate *OutsideExchangeRate `codec:"exchangeRate,omitempty" json:"exchangeRate,omitempty"`
}

func (LocalOwnAccount) DeepCopy

func (o LocalOwnAccount) DeepCopy() LocalOwnAccount

type NoteContents

type NoteContents struct {
	Note      string        `codec:"note" json:"note"`
	StellarID TransactionID `codec:"stellarID" json:"stellarID"`
}

func (NoteContents) DeepCopy

func (o NoteContents) DeepCopy() NoteContents

type NoteRecipient

type NoteRecipient struct {
	User   keybase1.UserVersion          `codec:"user" json:"user"`
	PukGen keybase1.PerUserKeyGeneration `codec:"pukGen" json:"pukGen"`
}

func (NoteRecipient) DeepCopy

func (o NoteRecipient) DeepCopy() NoteRecipient

type OutsideCurrencyCode

type OutsideCurrencyCode string

func (OutsideCurrencyCode) DeepCopy

type OutsideExchangeRate

type OutsideExchangeRate struct {
	Currency OutsideCurrencyCode `codec:"currency" json:"currency"`
	Rate     string              `codec:"rate" json:"rate"`
}

func (OutsideExchangeRate) DeepCopy

type OwnAccountLocalArg

type OwnAccountLocalArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type PaymentCLILocal

type PaymentCLILocal struct {
	StellarTxID     TransactionID `codec:"stellarTxID" json:"stellarTxID"`
	Time            TimeMs        `codec:"time" json:"time"`
	Status          string        `codec:"status" json:"status"`
	StatusDetail    string        `codec:"statusDetail" json:"statusDetail"`
	Amount          string        `codec:"amount" json:"amount"`
	Asset           Asset         `codec:"asset" json:"asset"`
	DisplayAmount   *string       `codec:"displayAmount,omitempty" json:"displayAmount,omitempty"`
	DisplayCurrency *string       `codec:"displayCurrency,omitempty" json:"displayCurrency,omitempty"`
	FromStellar     AccountID     `codec:"fromStellar" json:"fromStellar"`
	ToStellar       AccountID     `codec:"toStellar" json:"toStellar"`
	FromUsername    *string       `codec:"fromUsername,omitempty" json:"fromUsername,omitempty"`
	ToUsername      *string       `codec:"toUsername,omitempty" json:"toUsername,omitempty"`
	Note            string        `codec:"note" json:"note"`
	NoteErr         string        `codec:"noteErr" json:"noteErr"`
}

func (PaymentCLILocal) DeepCopy

func (o PaymentCLILocal) DeepCopy() PaymentCLILocal

type PaymentDetailArg

type PaymentDetailArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
	TxID   string               `codec:"txID" json:"txID"`
}

type PaymentDetailCLILocalArg

type PaymentDetailCLILocalArg struct {
	TxID string `codec:"txID" json:"txID"`
}

type PaymentDirectPost

type PaymentDirectPost struct {
	FromDeviceID      keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
	To                *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	DisplayAmount     string                `codec:"displayAmount" json:"displayAmount"`
	DisplayCurrency   string                `codec:"displayCurrency" json:"displayCurrency"`
	NoteB64           string                `codec:"noteB64" json:"noteB64"`
	SignedTransaction string                `codec:"signedTransaction" json:"signedTransaction"`
}

func (PaymentDirectPost) DeepCopy

func (o PaymentDirectPost) DeepCopy() PaymentDirectPost

type PaymentRelayPost

type PaymentRelayPost struct {
	FromDeviceID      keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
	To                *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	ToAssertion       string                `codec:"toAssertion" json:"toAssertion"`
	RelayAccount      AccountID             `codec:"relayAccount" json:"relayAccount"`
	TeamID            keybase1.TeamID       `codec:"teamID" json:"teamID"`
	DisplayAmount     string                `codec:"displayAmount" json:"displayAmount"`
	DisplayCurrency   string                `codec:"displayCurrency" json:"displayCurrency"`
	BoxB64            string                `codec:"boxB64" json:"boxB64"`
	SignedTransaction string                `codec:"signedTransaction" json:"signedTransaction"`
}

func (PaymentRelayPost) DeepCopy

func (o PaymentRelayPost) DeepCopy() PaymentRelayPost

type PaymentResult

type PaymentResult struct {
	KeybaseID KeybaseTransactionID `codec:"keybaseID" json:"keybaseID"`
	StellarID TransactionID        `codec:"stellarID" json:"stellarID"`
}

func (PaymentResult) DeepCopy

func (o PaymentResult) DeepCopy() PaymentResult

type PaymentStrategy

type PaymentStrategy int
const (
	PaymentStrategy_NONE   PaymentStrategy = 0
	PaymentStrategy_DIRECT PaymentStrategy = 1
	PaymentStrategy_RELAY  PaymentStrategy = 2
)

func (PaymentStrategy) DeepCopy

func (o PaymentStrategy) DeepCopy() PaymentStrategy

func (PaymentStrategy) String

func (e PaymentStrategy) String() string

type PaymentSummary

type PaymentSummary struct {
	Stellar     *PaymentSummaryStellar `codec:"stellar,omitempty" json:"stellar,omitempty"`
	Keybase     *PaymentSummaryKeybase `codec:"keybase,omitempty" json:"keybase,omitempty"`
	StellarTxID TransactionID          `codec:"stellarTxID" json:"stellarTxID"`
	From        AccountID              `codec:"from" json:"from"`
	To          AccountID              `codec:"to" json:"to"`
	Amount      string                 `codec:"amount" json:"amount"`
	Asset       Asset                  `codec:"asset" json:"asset"`
}

func (PaymentSummary) DeepCopy

func (o PaymentSummary) DeepCopy() PaymentSummary

type PaymentSummaryKeybase

type PaymentSummaryKeybase struct {
	KbTxID          KeybaseTransactionID  `codec:"kbTxID" json:"kbTxID"`
	Status          TransactionStatus     `codec:"status" json:"status"`
	SubmitErrMsg    string                `codec:"submitErrMsg" json:"submitErrMsg"`
	Ctime           TimeMs                `codec:"ctime" json:"ctime"`
	Rtime           TimeMs                `codec:"rtime" json:"rtime"`
	From            keybase1.UserVersion  `codec:"from" json:"from"`
	FromDeviceID    keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
	To              *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	DisplayAmount   *string               `codec:"displayAmount,omitempty" json:"displayAmount,omitempty"`
	DisplayCurrency *string               `codec:"displayCurrency,omitempty" json:"displayCurrency,omitempty"`
	NoteB64         string                `codec:"noteB64" json:"noteB64"`
}

func (PaymentSummaryKeybase) DeepCopy

type PaymentSummaryStellar

type PaymentSummaryStellar struct {
	OperationID uint64 `codec:"operationID" json:"operationID"`
	Ctime       TimeMs `codec:"ctime" json:"ctime"`
}

func (PaymentSummaryStellar) DeepCopy

type PingArg

type PingArg struct {
}

type RecentPaymentsArg

type RecentPaymentsArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
	Limit     int                  `codec:"limit" json:"limit"`
}

type RecentPaymentsCLILocalArg

type RecentPaymentsCLILocalArg struct {
	AccountID *AccountID `codec:"accountID,omitempty" json:"accountID,omitempty"`
}

type RelayContents

type RelayContents struct {
	StellarID TransactionID `codec:"stellarID" json:"stellarID"`
	Sk        SecretKey     `codec:"sk" json:"sk"`
	Note      string        `codec:"note" json:"note"`
}

func (RelayContents) DeepCopy

func (o RelayContents) DeepCopy() RelayContents

type RelayDirection

type RelayDirection int
const (
	RelayDirection_CLAIM RelayDirection = 0
	RelayDirection_YANK  RelayDirection = 1
)

func (RelayDirection) DeepCopy

func (o RelayDirection) DeepCopy() RelayDirection

func (RelayDirection) String

func (e RelayDirection) String() string

type RemoteClient

type RemoteClient struct {
	Cli rpc.GenericClient
}

func (RemoteClient) AccountSeqno

func (c RemoteClient) AccountSeqno(ctx context.Context, __arg AccountSeqnoArg) (res string, err error)

func (RemoteClient) Balances

func (c RemoteClient) Balances(ctx context.Context, __arg BalancesArg) (res []Balance, err error)

func (RemoteClient) IsMasterKeyActive

func (c RemoteClient) IsMasterKeyActive(ctx context.Context, __arg IsMasterKeyActiveArg) (res bool, err error)

func (RemoteClient) PaymentDetail

func (c RemoteClient) PaymentDetail(ctx context.Context, __arg PaymentDetailArg) (res PaymentSummary, err error)

func (RemoteClient) Ping

func (c RemoteClient) Ping(ctx context.Context) (res string, err error)

func (RemoteClient) RecentPayments

func (c RemoteClient) RecentPayments(ctx context.Context, __arg RecentPaymentsArg) (res []PaymentSummary, err error)

func (RemoteClient) SubmitPayment

func (c RemoteClient) SubmitPayment(ctx context.Context, __arg SubmitPaymentArg) (res PaymentResult, err error)

func (RemoteClient) SubmitRelayPayment

func (c RemoteClient) SubmitRelayPayment(ctx context.Context, __arg SubmitRelayPaymentArg) (res PaymentResult, err error)

type SecretKey

type SecretKey string

func (SecretKey) DeepCopy

func (o SecretKey) DeepCopy() SecretKey

func (SecretKey) SecureNoLogString

func (s SecretKey) SecureNoLogString() string

func (SecretKey) String

func (s SecretKey) String() string

type SendLocalArg

type SendLocalArg struct {
	Recipient string `codec:"recipient" json:"recipient"`
	Amount    string `codec:"amount" json:"amount"`
	Asset     Asset  `codec:"asset" json:"asset"`
	Note      string `codec:"note" json:"note"`
}

type SetDisplayCurrencyArg

type SetDisplayCurrencyArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Currency  string    `codec:"currency" json:"currency"`
}

type SubmitPaymentArg

type SubmitPaymentArg struct {
	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
	Payment PaymentDirectPost    `codec:"payment" json:"payment"`
}

type SubmitRelayPaymentArg

type SubmitRelayPaymentArg struct {
	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
	Payment PaymentRelayPost     `codec:"payment" json:"payment"`
}

type TimeMs

type TimeMs int64

func ToTimeMs

func ToTimeMs(t time.Time) TimeMs

func (TimeMs) DeepCopy

func (o TimeMs) DeepCopy() TimeMs

func (TimeMs) Time

func (t TimeMs) Time() time.Time

type TransactionID

type TransactionID string

func (TransactionID) DeepCopy

func (o TransactionID) DeepCopy() TransactionID

func (TransactionID) String

func (t TransactionID) String() string

type TransactionStatus

type TransactionStatus int
const (
	TransactionStatus_NONE            TransactionStatus = 0
	TransactionStatus_PENDING         TransactionStatus = 1
	TransactionStatus_SUCCESS         TransactionStatus = 2
	TransactionStatus_ERROR_TRANSIENT TransactionStatus = 3
	TransactionStatus_ERROR_PERMANENT TransactionStatus = 4
)

func (TransactionStatus) DeepCopy

func (o TransactionStatus) DeepCopy() TransactionStatus

func (TransactionStatus) String

func (e TransactionStatus) String() string

type WalletDumpLocalArg

type WalletDumpLocalArg struct {
}

type WalletGetLocalAccountsArg

type WalletGetLocalAccountsArg struct {
}

type WalletInitLocalArg

type WalletInitLocalArg struct {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL