stellarsvc

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v1.0.48

type Server struct {
	libkb.Contextified
	// contains filtered or unexported fields
}

func New added in v1.0.48

func New(g *libkb.GlobalContext, uiSource UISource, remoter remote.Remoter) *Server

func (*Server) BalancesLocal added in v1.0.48

func (s *Server) BalancesLocal(ctx context.Context, accountID stellar1.AccountID) (ret []stellar1.Balance, err error)

func (*Server) ExchangeRateLocal added in v1.0.48

func (s *Server) ExchangeRateLocal(ctx context.Context, currency stellar1.OutsideCurrencyCode) (res stellar1.OutsideExchangeRate, err error)

func (*Server) ExportSecretKeyLocal added in v1.0.48

func (s *Server) ExportSecretKeyLocal(ctx context.Context, accountID stellar1.AccountID) (res stellar1.SecretKey, err error)

func (*Server) ImportSecretKeyLocal added in v1.0.48

func (s *Server) ImportSecretKeyLocal(ctx context.Context, arg stellar1.ImportSecretKeyLocalArg) (err error)

func (*Server) OwnAccountLocal added in v1.0.48

func (s *Server) OwnAccountLocal(ctx context.Context, accountID stellar1.AccountID) (isOwn bool, err error)

func (*Server) PaymentDetailCLILocal added in v1.0.48

func (s *Server) PaymentDetailCLILocal(ctx context.Context, txID string) (res stellar1.PaymentCLILocal, err error)

func (*Server) RecentPaymentsCLILocal added in v1.0.48

func (s *Server) RecentPaymentsCLILocal(ctx context.Context, accountID *stellar1.AccountID) (res []stellar1.PaymentCLILocal, err error)

func (*Server) SendLocal added in v1.0.48

func (*Server) SetDisplayCurrency added in v1.0.48

func (s *Server) SetDisplayCurrency(ctx context.Context, arg stellar1.SetDisplayCurrencyArg) (err error)

func (*Server) WalletDumpLocal added in v1.0.48

func (s *Server) WalletDumpLocal(ctx context.Context) (dump stellar1.Bundle, err error)

func (*Server) WalletGetLocalAccounts added in v1.0.48

func (s *Server) WalletGetLocalAccounts(ctx context.Context) (ret []stellar1.LocalOwnAccount, err error)

func (*Server) WalletInitLocal added in v1.0.48

func (s *Server) WalletInitLocal(ctx context.Context) (err error)

WalletInitLocal creates and posts an initial stellar bundle for a user. Only succeeds if they do not already have one. Safe to call even if the user has a bundle already.

type UISource added in v1.0.48

type UISource interface {
	SecretUI(g *libkb.GlobalContext, sessionID int) libkb.SecretUI
}

Jump to

Keyboard shortcuts

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