Documentation
¶
Index ¶
- Variables
- func BundleProtocol(i BundleInterface) rpc.Protocol
- func CommonProtocol(i CommonInterface) rpc.Protocol
- func LocalProtocol(i LocalInterface) rpc.Protocol
- func RemoteProtocol(i RemoteInterface) rpc.Protocol
- type AccountBundle
- type AccountBundleSecretUnsupported
- type AccountBundleSecretV1
- type AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV1(v AccountBundleSecretV1) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV2(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV3(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV4(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV5(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV6(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV7(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV8(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV9(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func NewAccountBundleSecretVersionedWithV10(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
- func (o AccountBundleSecretVersioned) DeepCopy() AccountBundleSecretVersioned
- func (o AccountBundleSecretVersioned) V1() (res AccountBundleSecretV1)
- func (o AccountBundleSecretVersioned) V2() (res AccountBundleSecretUnsupported)
- func (o AccountBundleSecretVersioned) V3() (res AccountBundleSecretUnsupported)
- func (o AccountBundleSecretVersioned) V4() (res AccountBundleSecretUnsupported)
- func (o AccountBundleSecretVersioned) V5() (res AccountBundleSecretUnsupported)
- func (o AccountBundleSecretVersioned) V6() (res AccountBundleSecretUnsupported)
- func (o AccountBundleSecretVersioned) V7() (res AccountBundleSecretUnsupported)
- func (o AccountBundleSecretVersioned) V8() (res AccountBundleSecretUnsupported)
- func (o AccountBundleSecretVersioned) V9() (res AccountBundleSecretUnsupported)
- func (o AccountBundleSecretVersioned) V10() (res AccountBundleSecretUnsupported)
- func (o *AccountBundleSecretVersioned) Version() (ret AccountBundleVersion, err error)
- type AccountBundleVersion
- type AccountID
- type AccountMode
- type Asset
- type Balance
- type BalanceDelta
- type BalancesArg
- type Bundle
- type BundleClient
- type BundleEntry
- type BundleInterface
- type BundleRevision
- type BundleSecretEntryV2
- type BundleSecretUnsupported
- type BundleSecretV2
- type BundleSecretVersioned
- func NewBundleSecretVersionedWithV1(v BundleSecretUnsupported) BundleSecretVersioned
- func NewBundleSecretVersionedWithV2(v BundleSecretV2) BundleSecretVersioned
- func NewBundleSecretVersionedWithV3(v BundleSecretUnsupported) BundleSecretVersioned
- func NewBundleSecretVersionedWithV4(v BundleSecretUnsupported) BundleSecretVersioned
- func NewBundleSecretVersionedWithV5(v BundleSecretUnsupported) BundleSecretVersioned
- func NewBundleSecretVersionedWithV6(v BundleSecretUnsupported) BundleSecretVersioned
- func NewBundleSecretVersionedWithV7(v BundleSecretUnsupported) BundleSecretVersioned
- func NewBundleSecretVersionedWithV8(v BundleSecretUnsupported) BundleSecretVersioned
- func NewBundleSecretVersionedWithV9(v BundleSecretUnsupported) BundleSecretVersioned
- func NewBundleSecretVersionedWithV10(v BundleSecretUnsupported) BundleSecretVersioned
- func (o BundleSecretVersioned) DeepCopy() BundleSecretVersioned
- func (o BundleSecretVersioned) V1() (res BundleSecretUnsupported)
- func (o BundleSecretVersioned) V2() (res BundleSecretV2)
- func (o BundleSecretVersioned) V3() (res BundleSecretUnsupported)
- func (o BundleSecretVersioned) V4() (res BundleSecretUnsupported)
- func (o BundleSecretVersioned) V5() (res BundleSecretUnsupported)
- func (o BundleSecretVersioned) V6() (res BundleSecretUnsupported)
- func (o BundleSecretVersioned) V7() (res BundleSecretUnsupported)
- func (o BundleSecretVersioned) V8() (res BundleSecretUnsupported)
- func (o BundleSecretVersioned) V9() (res BundleSecretUnsupported)
- func (o BundleSecretVersioned) V10() (res BundleSecretUnsupported)
- func (o *BundleSecretVersioned) Version() (ret BundleVersion, err error)
- type BundleVersion
- type BundleVisibleEntryV2
- type BundleVisibleV2
- type CommonClient
- type CommonInterface
- type CurrencyLocal
- type DeleteWalletAccountLocalArg
- type EncryptedAccountBundle
- type EncryptedBundle
- type ExportSecretKeyLocalArg
- type GetWalletAccountSecretKeyLocalArg
- type GetWalletAccountsLocalArg
- type HasAcceptedDisclaimerLocalArg
- type Hash
- type KeybaseRequestID
- type LocalClient
- func (c LocalClient) DeleteWalletAccountLocal(ctx context.Context, __arg DeleteWalletAccountLocalArg) (err error)
- func (c LocalClient) ExportSecretKeyLocal(ctx context.Context, accountID AccountID) (res SecretKey, err error)
- func (c LocalClient) GetWalletAccountSecretKeyLocal(ctx context.Context, __arg GetWalletAccountSecretKeyLocalArg) (res SecretKey, err error)
- func (c LocalClient) GetWalletAccountsLocal(ctx context.Context, sessionID int) (res []WalletAccountLocal, err error)
- func (c LocalClient) HasAcceptedDisclaimerLocal(ctx context.Context, sessionID int) (res bool, err error)
- type LocalInterface
- type OutsideCurrencyCode
- type PaymentID
- type PaymentStatus
- type RemoteClient
- type RemoteInterface
- type RequestStatus
- type SecretKey
- type TransactionID
- type WalletAccountLocal
Constants ¶
This section is empty.
Variables ¶
var AccountBundleVersionMap = map[string]AccountBundleVersion{
"V1": 1,
"V2": 2,
"V3": 3,
"V4": 4,
"V5": 5,
"V6": 6,
"V7": 7,
"V8": 8,
"V9": 9,
"V10": 10,
}
var AccountBundleVersionRevMap = map[AccountBundleVersion]string{
1: "V1",
2: "V2",
3: "V3",
4: "V4",
5: "V5",
6: "V6",
7: "V7",
8: "V8",
9: "V9",
10: "V10",
}
var AccountModeMap = map[string]AccountMode{
"NONE": 0,
"USER": 1,
"MOBILE": 2,
}
var AccountModeRevMap = map[AccountMode]string{
0: "NONE",
1: "USER",
2: "MOBILE",
}
var BalanceDeltaMap = map[string]BalanceDelta{
"NONE": 0,
"INCREASE": 1,
"DECREASE": 2,
}
var BalanceDeltaRevMap = map[BalanceDelta]string{
0: "NONE",
1: "INCREASE",
2: "DECREASE",
}
var BundleVersionMap = map[string]BundleVersion{
"V1": 1,
"V2": 2,
"V3": 3,
"V4": 4,
"V5": 5,
"V6": 6,
"V7": 7,
"V8": 8,
"V9": 9,
"V10": 10,
}
var BundleVersionRevMap = map[BundleVersion]string{
1: "V1",
2: "V2",
3: "V3",
4: "V4",
5: "V5",
6: "V6",
7: "V7",
8: "V8",
9: "V9",
10: "V10",
}
var PaymentStatusMap = map[string]PaymentStatus{
"NONE": 0,
"PENDING": 1,
"CLAIMABLE": 2,
"COMPLETED": 3,
"ERROR": 4,
"UNKNOWN": 5,
}
var PaymentStatusRevMap = map[PaymentStatus]string{
0: "NONE",
1: "PENDING",
2: "CLAIMABLE",
3: "COMPLETED",
4: "ERROR",
5: "UNKNOWN",
}
var RequestStatusMap = map[string]RequestStatus{
"OK": 0,
"CANCELED": 1,
"DONE": 2,
}
var RequestStatusRevMap = map[RequestStatus]string{
0: "OK",
1: "CANCELED",
2: "DONE",
}
Functions ¶
func BundleProtocol ¶
func BundleProtocol(i BundleInterface) rpc.Protocol
func CommonProtocol ¶
func CommonProtocol(i CommonInterface) rpc.Protocol
func LocalProtocol ¶
func LocalProtocol(i LocalInterface) rpc.Protocol
func RemoteProtocol ¶
func RemoteProtocol(i RemoteInterface) rpc.Protocol
Types ¶
type AccountBundle ¶
type AccountBundle struct {
Prev Hash `codec:"prev" json:"prev"`
OwnHash Hash `codec:"ownHash" json:"ownHash"`
AccountID AccountID `codec:"accountID" json:"accountID"`
Signers []SecretKey `codec:"signers" json:"signers"`
}
func (AccountBundle) DeepCopy ¶
func (o AccountBundle) DeepCopy() AccountBundle
type AccountBundleSecretUnsupported ¶
type AccountBundleSecretUnsupported struct {
}
func (AccountBundleSecretUnsupported) DeepCopy ¶
func (o AccountBundleSecretUnsupported) DeepCopy() AccountBundleSecretUnsupported
type AccountBundleSecretV1 ¶
type AccountBundleSecretV1 struct {
AccountID AccountID `codec:"accountID" json:"accountID"`
Signers []SecretKey `codec:"signers" json:"signers"`
}
func (AccountBundleSecretV1) DeepCopy ¶
func (o AccountBundleSecretV1) DeepCopy() AccountBundleSecretV1
type AccountBundleSecretVersioned ¶
type AccountBundleSecretVersioned struct {
Version__ AccountBundleVersion `codec:"version" json:"version"`
V1__ *AccountBundleSecretV1 `codec:"v1,omitempty" json:"v1,omitempty"`
V2__ *AccountBundleSecretUnsupported `codec:"v2,omitempty" json:"v2,omitempty"`
V3__ *AccountBundleSecretUnsupported `codec:"v3,omitempty" json:"v3,omitempty"`
V4__ *AccountBundleSecretUnsupported `codec:"v4,omitempty" json:"v4,omitempty"`
V5__ *AccountBundleSecretUnsupported `codec:"v5,omitempty" json:"v5,omitempty"`
V6__ *AccountBundleSecretUnsupported `codec:"v6,omitempty" json:"v6,omitempty"`
V7__ *AccountBundleSecretUnsupported `codec:"v7,omitempty" json:"v7,omitempty"`
V8__ *AccountBundleSecretUnsupported `codec:"v8,omitempty" json:"v8,omitempty"`
V9__ *AccountBundleSecretUnsupported `codec:"v9,omitempty" json:"v9,omitempty"`
V10__ *AccountBundleSecretUnsupported `codec:"v10,omitempty" json:"v10,omitempty"`
}
func NewAccountBundleSecretVersionedWithV1 ¶
func NewAccountBundleSecretVersionedWithV1(v AccountBundleSecretV1) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV2 ¶
func NewAccountBundleSecretVersionedWithV2(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV3 ¶
func NewAccountBundleSecretVersionedWithV3(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV4 ¶
func NewAccountBundleSecretVersionedWithV4(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV5 ¶
func NewAccountBundleSecretVersionedWithV5(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV6 ¶
func NewAccountBundleSecretVersionedWithV6(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV7 ¶
func NewAccountBundleSecretVersionedWithV7(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV8 ¶
func NewAccountBundleSecretVersionedWithV8(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV9 ¶
func NewAccountBundleSecretVersionedWithV9(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func NewAccountBundleSecretVersionedWithV10 ¶
func NewAccountBundleSecretVersionedWithV10(v AccountBundleSecretUnsupported) AccountBundleSecretVersioned
func (AccountBundleSecretVersioned) DeepCopy ¶
func (o AccountBundleSecretVersioned) DeepCopy() AccountBundleSecretVersioned
func (AccountBundleSecretVersioned) V1 ¶
func (o AccountBundleSecretVersioned) V1() (res AccountBundleSecretV1)
func (AccountBundleSecretVersioned) V2 ¶
func (o AccountBundleSecretVersioned) V2() (res AccountBundleSecretUnsupported)
func (AccountBundleSecretVersioned) V3 ¶
func (o AccountBundleSecretVersioned) V3() (res AccountBundleSecretUnsupported)
func (AccountBundleSecretVersioned) V4 ¶
func (o AccountBundleSecretVersioned) V4() (res AccountBundleSecretUnsupported)
func (AccountBundleSecretVersioned) V5 ¶
func (o AccountBundleSecretVersioned) V5() (res AccountBundleSecretUnsupported)
func (AccountBundleSecretVersioned) V6 ¶
func (o AccountBundleSecretVersioned) V6() (res AccountBundleSecretUnsupported)
func (AccountBundleSecretVersioned) V7 ¶
func (o AccountBundleSecretVersioned) V7() (res AccountBundleSecretUnsupported)
func (AccountBundleSecretVersioned) V8 ¶
func (o AccountBundleSecretVersioned) V8() (res AccountBundleSecretUnsupported)
func (AccountBundleSecretVersioned) V9 ¶
func (o AccountBundleSecretVersioned) V9() (res AccountBundleSecretUnsupported)
func (AccountBundleSecretVersioned) V10 ¶
func (o AccountBundleSecretVersioned) V10() (res AccountBundleSecretUnsupported)
func (*AccountBundleSecretVersioned) Version ¶
func (o *AccountBundleSecretVersioned) Version() (ret AccountBundleVersion, err error)
type AccountBundleVersion ¶
type AccountBundleVersion int
const ( AccountBundleVersion_V1 AccountBundleVersion = 1 AccountBundleVersion_V2 AccountBundleVersion = 2 AccountBundleVersion_V3 AccountBundleVersion = 3 AccountBundleVersion_V4 AccountBundleVersion = 4 AccountBundleVersion_V5 AccountBundleVersion = 5 AccountBundleVersion_V6 AccountBundleVersion = 6 AccountBundleVersion_V7 AccountBundleVersion = 7 AccountBundleVersion_V8 AccountBundleVersion = 8 AccountBundleVersion_V9 AccountBundleVersion = 9 AccountBundleVersion_V10 AccountBundleVersion = 10 )
func (AccountBundleVersion) DeepCopy ¶
func (o AccountBundleVersion) DeepCopy() AccountBundleVersion
func (AccountBundleVersion) String ¶
func (o AccountBundleVersion) String() string
type AccountMode ¶
type AccountMode int
const ( AccountMode_NONE AccountMode = 0 AccountMode_USER AccountMode = 1 AccountMode_MOBILE AccountMode = 2 )
func (AccountMode) DeepCopy ¶
func (o AccountMode) DeepCopy() AccountMode
func (AccountMode) String ¶
func (o AccountMode) String() string
type Asset ¶
type Asset struct {
Type string `codec:"type" json:"type"`
Code string `codec:"code" json:"code"`
Issuer string `codec:"issuer" json:"issuer"`
VerifiedDomain string `codec:"verifiedDomain" json:"verifiedDomain"`
IssuerName string `codec:"issuerName" json:"issuerName"`
Desc string `codec:"desc" json:"desc"`
InfoUrl string `codec:"infoUrl" json:"infoUrl"`
InfoUrlText string `codec:"infoUrlText" json:"infoUrlText"`
ShowDepositButton bool `codec:"showDepositButton" json:"showDepositButton"`
DepositButtonText string `codec:"depositButtonText" json:"depositButtonText"`
ShowWithdrawButton bool `codec:"showWithdrawButton" json:"showWithdrawButton"`
WithdrawButtonText string `codec:"withdrawButtonText" json:"withdrawButtonText"`
WithdrawType string `codec:"withdrawType" json:"withdrawType"`
TransferServer string `codec:"transferServer" json:"transferServer"`
AuthEndpoint string `codec:"authEndpoint" json:"authEndpoint"`
DepositReqAuth bool `codec:"depositReqAuth" json:"depositReqAuth"`
WithdrawReqAuth bool `codec:"withdrawReqAuth" json:"withdrawReqAuth"`
UseSep24 bool `codec:"useSep24" json:"useSep24"`
}
func (*Asset) IsNativeXLM ¶
func (Asset) String ¶
String returns a display friendly form of the asset, compatible with xdr.Asset fomat: type/code/issuer or just "native" if asset is native XLM.
func (Asset) TypeString ¶
type Balance ¶
type BalanceDelta ¶
type BalanceDelta int
const ( BalanceDelta_NONE BalanceDelta = 0 BalanceDelta_INCREASE BalanceDelta = 1 BalanceDelta_DECREASE BalanceDelta = 2 )
func (BalanceDelta) DeepCopy ¶
func (o BalanceDelta) DeepCopy() BalanceDelta
func (BalanceDelta) String ¶
func (o BalanceDelta) String() string
type BalancesArg ¶
type BalancesArg struct {
Caller keybase1.UserVersion `codec:"caller" json:"caller"`
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"`
AccountBundles map[AccountID]AccountBundle `codec:"accountBundles" json:"accountBundles"`
}
func (Bundle) CheckInvariants ¶
CheckInvariants checks that the Bundle satisfies 1. No duplicate account IDs 2. Exactly one primary account 3. Non-negative revision numbers 4. Account Bundle accountIDs are consistent 5. every account in AccountBundles is also in Accounts
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"`
Name string `codec:"name" json:"name"`
AcctBundleRevision BundleRevision `codec:"acctBundleRevision" json:"acctBundleRevision"`
EncAcctBundleHash Hash `codec:"encAcctBundleHash" json:"encAcctBundleHash"`
}
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 BundleSecretEntryV2 ¶
type BundleSecretEntryV2 struct {
AccountID AccountID `codec:"accountID" json:"accountID"`
Name string `codec:"name" json:"name"`
}
func (BundleSecretEntryV2) DeepCopy ¶
func (o BundleSecretEntryV2) DeepCopy() BundleSecretEntryV2
type BundleSecretUnsupported ¶
type BundleSecretUnsupported struct {
}
func (BundleSecretUnsupported) DeepCopy ¶
func (o BundleSecretUnsupported) DeepCopy() BundleSecretUnsupported
type BundleSecretV2 ¶
type BundleSecretV2 struct {
VisibleHash Hash `codec:"visibleHash" json:"visibleHash"`
Accounts []BundleSecretEntryV2 `codec:"accounts" json:"accounts"`
}
func (BundleSecretV2) DeepCopy ¶
func (o BundleSecretV2) DeepCopy() BundleSecretV2
type BundleSecretVersioned ¶
type BundleSecretVersioned struct {
Version__ BundleVersion `codec:"version" json:"version"`
V1__ *BundleSecretUnsupported `codec:"v1,omitempty" json:"v1,omitempty"`
V2__ *BundleSecretV2 `codec:"v2,omitempty" json:"v2,omitempty"`
V3__ *BundleSecretUnsupported `codec:"v3,omitempty" json:"v3,omitempty"`
V4__ *BundleSecretUnsupported `codec:"v4,omitempty" json:"v4,omitempty"`
V5__ *BundleSecretUnsupported `codec:"v5,omitempty" json:"v5,omitempty"`
V6__ *BundleSecretUnsupported `codec:"v6,omitempty" json:"v6,omitempty"`
V7__ *BundleSecretUnsupported `codec:"v7,omitempty" json:"v7,omitempty"`
V8__ *BundleSecretUnsupported `codec:"v8,omitempty" json:"v8,omitempty"`
V9__ *BundleSecretUnsupported `codec:"v9,omitempty" json:"v9,omitempty"`
V10__ *BundleSecretUnsupported `codec:"v10,omitempty" json:"v10,omitempty"`
}
func NewBundleSecretVersionedWithV1 ¶
func NewBundleSecretVersionedWithV1(v BundleSecretUnsupported) BundleSecretVersioned
func NewBundleSecretVersionedWithV2 ¶
func NewBundleSecretVersionedWithV2(v BundleSecretV2) BundleSecretVersioned
func NewBundleSecretVersionedWithV3 ¶
func NewBundleSecretVersionedWithV3(v BundleSecretUnsupported) BundleSecretVersioned
func NewBundleSecretVersionedWithV4 ¶
func NewBundleSecretVersionedWithV4(v BundleSecretUnsupported) BundleSecretVersioned
func NewBundleSecretVersionedWithV5 ¶
func NewBundleSecretVersionedWithV5(v BundleSecretUnsupported) BundleSecretVersioned
func NewBundleSecretVersionedWithV6 ¶
func NewBundleSecretVersionedWithV6(v BundleSecretUnsupported) BundleSecretVersioned
func NewBundleSecretVersionedWithV7 ¶
func NewBundleSecretVersionedWithV7(v BundleSecretUnsupported) BundleSecretVersioned
func NewBundleSecretVersionedWithV8 ¶
func NewBundleSecretVersionedWithV8(v BundleSecretUnsupported) BundleSecretVersioned
func NewBundleSecretVersionedWithV9 ¶
func NewBundleSecretVersionedWithV9(v BundleSecretUnsupported) BundleSecretVersioned
func NewBundleSecretVersionedWithV10 ¶
func NewBundleSecretVersionedWithV10(v BundleSecretUnsupported) BundleSecretVersioned
func (BundleSecretVersioned) DeepCopy ¶
func (o BundleSecretVersioned) DeepCopy() BundleSecretVersioned
func (BundleSecretVersioned) V1 ¶
func (o BundleSecretVersioned) V1() (res BundleSecretUnsupported)
func (BundleSecretVersioned) V2 ¶
func (o BundleSecretVersioned) V2() (res BundleSecretV2)
func (BundleSecretVersioned) V3 ¶
func (o BundleSecretVersioned) V3() (res BundleSecretUnsupported)
func (BundleSecretVersioned) V4 ¶
func (o BundleSecretVersioned) V4() (res BundleSecretUnsupported)
func (BundleSecretVersioned) V5 ¶
func (o BundleSecretVersioned) V5() (res BundleSecretUnsupported)
func (BundleSecretVersioned) V6 ¶
func (o BundleSecretVersioned) V6() (res BundleSecretUnsupported)
func (BundleSecretVersioned) V7 ¶
func (o BundleSecretVersioned) V7() (res BundleSecretUnsupported)
func (BundleSecretVersioned) V8 ¶
func (o BundleSecretVersioned) V8() (res BundleSecretUnsupported)
func (BundleSecretVersioned) V9 ¶
func (o BundleSecretVersioned) V9() (res BundleSecretUnsupported)
func (BundleSecretVersioned) V10 ¶
func (o BundleSecretVersioned) V10() (res BundleSecretUnsupported)
func (*BundleSecretVersioned) Version ¶
func (o *BundleSecretVersioned) Version() (ret BundleVersion, err error)
type BundleVersion ¶
type BundleVersion int
const ( BundleVersion_V1 BundleVersion = 1 BundleVersion_V2 BundleVersion = 2 BundleVersion_V3 BundleVersion = 3 BundleVersion_V4 BundleVersion = 4 BundleVersion_V5 BundleVersion = 5 BundleVersion_V6 BundleVersion = 6 BundleVersion_V7 BundleVersion = 7 BundleVersion_V8 BundleVersion = 8 BundleVersion_V9 BundleVersion = 9 BundleVersion_V10 BundleVersion = 10 )
func (BundleVersion) DeepCopy ¶
func (o BundleVersion) DeepCopy() BundleVersion
func (BundleVersion) String ¶
func (o BundleVersion) String() string
type BundleVisibleEntryV2 ¶
type BundleVisibleEntryV2 struct {
AccountID AccountID `codec:"accountID" json:"accountID"`
Mode AccountMode `codec:"mode" json:"mode"`
IsPrimary bool `codec:"isPrimary" json:"isPrimary"`
AcctBundleRevision BundleRevision `codec:"acctBundleRevision" json:"acctBundleRevision"`
EncAcctBundleHash Hash `codec:"encAcctBundleHash" json:"encAcctBundleHash"`
}
func (BundleVisibleEntryV2) DeepCopy ¶
func (o BundleVisibleEntryV2) DeepCopy() BundleVisibleEntryV2
type BundleVisibleV2 ¶
type BundleVisibleV2 struct {
Revision BundleRevision `codec:"revision" json:"revision"`
Prev Hash `codec:"prev" json:"prev"`
Accounts []BundleVisibleEntryV2 `codec:"accounts" json:"accounts"`
}
func (BundleVisibleV2) DeepCopy ¶
func (o BundleVisibleV2) DeepCopy() BundleVisibleV2
type CommonClient ¶
type CommonClient struct {
Cli rpc.GenericClient
}
type CommonInterface ¶
type CommonInterface interface {
}
type CurrencyLocal ¶
type CurrencyLocal struct {
Description string `codec:"description" json:"description"`
Code OutsideCurrencyCode `codec:"code" json:"code"`
Symbol string `codec:"symbol" json:"symbol"`
Name string `codec:"name" json:"name"`
}
func (CurrencyLocal) DeepCopy ¶
func (o CurrencyLocal) DeepCopy() CurrencyLocal
type EncryptedAccountBundle ¶
type EncryptedAccountBundle 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 (EncryptedAccountBundle) DeepCopy ¶
func (o EncryptedAccountBundle) DeepCopy() EncryptedAccountBundle
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 ExportSecretKeyLocalArg ¶
type ExportSecretKeyLocalArg struct {
AccountID AccountID `codec:"accountID" json:"accountID"`
}
type GetWalletAccountsLocalArg ¶
type GetWalletAccountsLocalArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type HasAcceptedDisclaimerLocalArg ¶
type HasAcceptedDisclaimerLocalArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type KeybaseRequestID ¶
type KeybaseRequestID string
func (KeybaseRequestID) DeepCopy ¶
func (o KeybaseRequestID) DeepCopy() KeybaseRequestID
func (KeybaseRequestID) Eq ¶
func (k KeybaseRequestID) Eq(b KeybaseRequestID) bool
func (KeybaseRequestID) String ¶
func (k KeybaseRequestID) String() string
type LocalClient ¶
type LocalClient struct {
Cli rpc.GenericClient
}
func (LocalClient) DeleteWalletAccountLocal ¶
func (c LocalClient) DeleteWalletAccountLocal(ctx context.Context, __arg DeleteWalletAccountLocalArg) (err error)
func (LocalClient) ExportSecretKeyLocal ¶
func (LocalClient) GetWalletAccountSecretKeyLocal ¶
func (c LocalClient) GetWalletAccountSecretKeyLocal(ctx context.Context, __arg GetWalletAccountSecretKeyLocalArg) (res SecretKey, err error)
func (LocalClient) GetWalletAccountsLocal ¶
func (c LocalClient) GetWalletAccountsLocal(ctx context.Context, sessionID int) (res []WalletAccountLocal, err error)
func (LocalClient) HasAcceptedDisclaimerLocal ¶
type LocalInterface ¶
type LocalInterface interface {
GetWalletAccountsLocal(context.Context, int) ([]WalletAccountLocal, error)
DeleteWalletAccountLocal(context.Context, DeleteWalletAccountLocalArg) error
HasAcceptedDisclaimerLocal(context.Context, int) (bool, error)
GetWalletAccountSecretKeyLocal(context.Context, GetWalletAccountSecretKeyLocalArg) (SecretKey, error)
ExportSecretKeyLocal(context.Context, AccountID) (SecretKey, error)
}
type OutsideCurrencyCode ¶
type OutsideCurrencyCode string
func (OutsideCurrencyCode) DeepCopy ¶
func (o OutsideCurrencyCode) DeepCopy() OutsideCurrencyCode
func (OutsideCurrencyCode) String ¶
func (c OutsideCurrencyCode) String() string
type PaymentStatus ¶
type PaymentStatus int
const ( PaymentStatus_NONE PaymentStatus = 0 PaymentStatus_PENDING PaymentStatus = 1 PaymentStatus_CLAIMABLE PaymentStatus = 2 PaymentStatus_COMPLETED PaymentStatus = 3 PaymentStatus_ERROR PaymentStatus = 4 PaymentStatus_UNKNOWN PaymentStatus = 5 )
func (PaymentStatus) DeepCopy ¶
func (o PaymentStatus) DeepCopy() PaymentStatus
func (PaymentStatus) String ¶
func (o PaymentStatus) String() string
type RemoteClient ¶
type RemoteClient struct {
Cli rpc.GenericClient
}
func (RemoteClient) Balances ¶
func (c RemoteClient) Balances(ctx context.Context, __arg BalancesArg) (res []Balance, err error)
type RemoteInterface ¶
type RemoteInterface interface {
Balances(context.Context, BalancesArg) ([]Balance, error)
}
type RequestStatus ¶
type RequestStatus int
const ( RequestStatus_OK RequestStatus = 0 RequestStatus_CANCELED RequestStatus = 1 RequestStatus_DONE RequestStatus = 2 )
func (RequestStatus) DeepCopy ¶
func (o RequestStatus) DeepCopy() RequestStatus
func (RequestStatus) String ¶
func (o RequestStatus) String() string
type TransactionID ¶
type TransactionID string
func (TransactionID) DeepCopy ¶
func (o TransactionID) DeepCopy() TransactionID
func (TransactionID) Eq ¶
func (t TransactionID) Eq(b TransactionID) bool
func (TransactionID) String ¶
func (t TransactionID) String() string
type WalletAccountLocal ¶
type WalletAccountLocal struct {
AccountID AccountID `codec:"accountID" json:"accountID"`
IsDefault bool `codec:"isDefault" json:"isDefault"`
Name string `codec:"name" json:"name"`
BalanceDescription string `codec:"balanceDescription" json:"balanceDescription"`
Seqno string `codec:"seqno" json:"seqno"`
CurrencyLocal CurrencyLocal `codec:"currencyLocal" json:"currencyLocal"`
AccountMode AccountMode `codec:"accountMode" json:"accountMode"`
AccountModeEditable bool `codec:"accountModeEditable" json:"accountModeEditable"`
DeviceReadOnly bool `codec:"deviceReadOnly" json:"deviceReadOnly"`
IsFunded bool `codec:"isFunded" json:"isFunded"`
CanSubmitTx bool `codec:"canSubmitTx" json:"canSubmitTx"`
CanAddTrustline bool `codec:"canAddTrustline" json:"canAddTrustline"`
}
func (WalletAccountLocal) DeepCopy ¶
func (o WalletAccountLocal) DeepCopy() WalletAccountLocal