Versions in this module Expand all Collapse all v0 v0.8.0 Feb 10, 2023 Changes in this version + const RegistryVersion v0.7.0 Dec 13, 2022 Changes in this version + func PlaygroundHandler(apiURL string) http.HandlerFunc v0.6.0 Oct 24, 2022 Changes in this version + const BondIDAttributeName + const DefaultLogNumLines + const ExpiryTimeAttributeName + const MaxLogNumLines + const NameServiceVersion + const OwnerAttributeName + var NodeDataPath = os.ExpandEnv("$HOME/.laconicd/data") + func GetDiskUsage(dirPath string) (string, error) + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + func Server(ctx client.Context) + type Account struct + Address string + Balance []*Coin + Number string + PubKey *string + Sequence string + type Auction struct + Bids []*AuctionBid + CommitFee *Coin + CommitsEndTime string + CreateTime string + ID string + MinimumBid *Coin + OwnerAddress string + RevealFee *Coin + RevealsEndTime string + Status string + WinnerAddress string + WinnerBid *Coin + WinnerPrice *Coin + func GetGQLAuction(auction *auctiontypes.Auction, bids []*auctiontypes.Bid) (*Auction, error) + type AuctionBid struct + BidAmount *Coin + BidderAddress string + CommitFee *Coin + CommitHash string + CommitTime string + RevealFee *Coin + RevealTime string + Status string + type AuthorityRecord struct + Auction *Auction + BondID string + ExpiryTime string + Height string + OwnerAddress string + OwnerPublicKey string + Status string + func GetGQLNameAuthorityRecord(record *nstypes.NameAuthority) (*AuthorityRecord, error) + type Bond struct + Balance []*Coin + ID string + Owner string + type Coin struct + Quantity string + Type string + type ComplexityRoot struct + Account struct{ ... } + Auction struct{ ... } + AuctionBid struct{ ... } + AuthorityRecord struct{ ... } + Bond struct{ ... } + Coin struct{ ... } + KeyValue struct{ ... } + NameRecord struct{ ... } + NameRecordEntry struct{ ... } + NodeInfo struct{ ... } + OwnerBonds struct{ ... } + PeerInfo struct{ ... } + Query struct{ ... } + Record struct{ ... } + Reference struct{ ... } + Status struct{ ... } + SyncInfo struct{ ... } + ValidatorInfo struct{ ... } + Value struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type DirectiveRoot struct + type KeyValue struct + Key string + Value *Value + type KeyValueInput struct + Key string + Value *ValueInput + type NameRecord struct + History []*NameRecordEntry + Latest *NameRecordEntry + type NameRecordEntry struct + Height string + ID string + type NodeInfo struct + ID string + Moniker string + Network string + type OwnerBonds struct + Bonds []*Bond + Owner string + type PeerInfo struct + IsOutbound bool + Node *NodeInfo + RemoteIP string + type QueryResolver interface + GetAccounts func(ctx context.Context, addresses []string) ([]*Account, error) + GetAuctionsByIds func(ctx context.Context, ids []string) ([]*Auction, error) + GetBondsByIds func(ctx context.Context, ids []string) ([]*Bond, error) + GetRecordsByIds func(ctx context.Context, ids []string) ([]*Record, error) + GetStatus func(ctx context.Context) (*Status, error) + LookupAuthorities func(ctx context.Context, names []string) ([]*AuthorityRecord, error) + LookupNames func(ctx context.Context, names []string) ([]*NameRecord, error) + QueryBonds func(ctx context.Context, attributes []*KeyValueInput) ([]*Bond, error) + QueryBondsByOwner func(ctx context.Context, ownerAddresses []string) ([]*OwnerBonds, error) + QueryRecords func(ctx context.Context, attributes []*KeyValueInput, all *bool) ([]*Record, error) + ResolveNames func(ctx context.Context, names []string) ([]*Record, error) + type Record struct + Attributes []*KeyValue + BondID string + CreateTime string + ExpiryTime string + ID string + Names []string + Owners []string + References []*Record + type Reference struct + ID string + type ReferenceInput struct + ID string + type Resolver struct + func (r *Resolver) Query() QueryResolver + type ResolverRoot interface + Query func() QueryResolver + type Status struct + DiskUsage string + Node *NodeInfo + NumPeers string + Peers []*PeerInfo + Sync *SyncInfo + Validator *ValidatorInfo + Validators []*ValidatorInfo + Version string + type SyncInfo struct + CatchingUp bool + LatestBlockHash string + LatestBlockHeight string + LatestBlockTime string + type ValidatorInfo struct + Address string + ProposerPriority *string + VotingPower string + type Value struct + Boolean *bool + Float *float64 + Int *int + JSON *string + Null *bool + Reference *Reference + String *string + Values []*Value + type ValueInput struct + Boolean *bool + Float *float64 + Int *int + Null *bool + Reference *ReferenceInput + String *string + Values []*ValueInput