Versions in this module Expand all Collapse all v0 v0.0.1 Nov 25, 2022 Changes in this version + const StellarTomlMaxSize + const WellKnownPath + var DefaultClient = &Client + type Client struct + HTTP HTTP + UseHTTP bool + func (c *Client) GetStellarToml(domain string) (resp *Response, err error) + func (c *Client) GetStellarTomlByAddress(addr string) (*Response, error) + type ClientInterface interface + GetStellarToml func(domain string) (*Response, error) + GetStellarTomlByAddress func(addr string) (*Response, error) + type Currency struct + AnchorAsset string + ApprovalCriteria string + ApprovalServer string + Code string + CodeTemplate string + CollateralAddressMessages []string + CollateralAddressSignatures []string + CollateralAddresses []string + Conditions string + Desc string + DisplayDecimals int + FixedNumber int + Image string + IsAssetAnchored bool + IsUnlimited bool + Issuer string + MaxNumber int + Name string + RedemptionInstructions string + Regulated string + Status string + type HTTP interface + Get func(url string) (*http.Response, error) + type MockClient struct + func (m *MockClient) GetStellarToml(domain string) (*Response, error) + func (m *MockClient) GetStellarTomlByAddress(address string) (*Response, error) + type Principal struct + Email string + Github string + IdPhotoHash string + Keybase string + Name string + Telegram string + Twitter string + VerificationPhotoHash string + type Response struct + Accounts []string + AuthServer string + Currencies []Currency + DirectPaymentServer string + FederationServer string + HorizonUrl string + KycServer string + NetworkPassphrase string + OrgDba string + OrgDescription string + OrgGithub string + OrgKeybase string + OrgLicenseNumber string + OrgLicenseType string + OrgLicensingAuthority string + OrgLogo string + OrgName string + OrgOfficialEmail string + OrgPhoneNumber string + OrgPhoneNumberAttestation string + OrgPhysicalAddress string + OrgPhysicalAddressAttestation string + OrgTwitter string + OrgUrl string + Principals []Principal + SigningKey string + TransferServer string + TransferServer0024 string + UriRequestSigningKey string + Validators []Validator + Version string + WebAuthEndpoint string + func GetStellarToml(domain string) (*Response, error) + func GetStellarTomlByAddress(addr string) (*Response, error) + type Validator struct + Alias string + DisplayName string + History string + Host string + PublicKey string