Documentation ¶
Index ¶
- type DiaResolver
- func (r *DiaResolver) GetChart(ctx context.Context, args struct{ ... }) (*[]*FilterPointResolver, error)
- func (r *DiaResolver) GetQuotation(ctx context.Context, args struct{ ... }) (*QuotationResolver, error)
- func (r *DiaResolver) GetSupplies(ctx context.Context, args struct{ ... }) (*[]*SupplyResolver, error)
- func (r *DiaResolver) GetSupply(ctx context.Context, args struct{ ... }) (*SupplyResolver, error)
- type FilterPointResolver
- func (qr *FilterPointResolver) Address(ctx context.Context) (*string, error)
- func (qr *FilterPointResolver) Blockchain(ctx context.Context) (*string, error)
- func (qr *FilterPointResolver) Name(ctx context.Context) (*string, error)
- func (qr *FilterPointResolver) Symbol(ctx context.Context) (*string, error)
- func (qr *FilterPointResolver) Time(ctx context.Context) (*graphql.Time, error)
- func (qr *FilterPointResolver) Value(ctx context.Context) (*float64, error)
- type QuotationResolver
- func (qr *QuotationResolver) Data(ctx context.Context) (*string, error)
- func (qr *QuotationResolver) ITIN(ctx context.Context) (*string, error)
- func (qr *QuotationResolver) MAIR(ctx context.Context) (*graphql.Time, error)
- func (qr *QuotationResolver) Name(ctx context.Context) (*string, error)
- func (qr *QuotationResolver) Price(ctx context.Context) (*float64, error)
- func (qr *QuotationResolver) Source(ctx context.Context) (*string, error)
- func (qr *QuotationResolver) Symbol(ctx context.Context) (*string, error)
- func (qr *QuotationResolver) Time(ctx context.Context) (*graphql.Time, error)
- type StringResolver
- type SupplyResolver
- func (qr *SupplyResolver) CirculatingSupply(ctx context.Context) (*float64, error)
- func (qr *SupplyResolver) MA(ctx context.Context) (*graphql.Time, error)
- func (qr *SupplyResolver) Name(ctx context.Context) (*string, error)
- func (qr *SupplyResolver) Source(ctx context.Context) (*string, error)
- func (qr *SupplyResolver) Supply(ctx context.Context) (*float64, error)
- func (qr *SupplyResolver) Symbol(ctx context.Context) (*string, error)
- func (qr *SupplyResolver) Time(ctx context.Context) (*graphql.Time, error)
- type TradeBlock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiaResolver ¶
Resolver is the root resolver
func (*DiaResolver) GetChart ¶
func (r *DiaResolver) GetChart(ctx context.Context, args struct { Filter graphql.NullString BlockDurationSeconds graphql.NullInt BlockShiftSeconds graphql.NullInt Symbol graphql.NullString StartTime graphql.NullTime EndTime graphql.NullTime Exchanges *[]graphql.NullString Address graphql.NullString BlockChain graphql.NullString }) (*[]*FilterPointResolver, error)
func (*DiaResolver) GetQuotation ¶
func (r *DiaResolver) GetQuotation(ctx context.Context, args struct{ Symbol graphql.NullString }) (*QuotationResolver, error)
GetQuotation Get quotation
func (*DiaResolver) GetSupplies ¶
func (r *DiaResolver) GetSupplies(ctx context.Context, args struct{ Symbol graphql.NullString }) (*[]*SupplyResolver, error)
func (*DiaResolver) GetSupply ¶
func (r *DiaResolver) GetSupply(ctx context.Context, args struct{ Symbol graphql.NullString }) (*SupplyResolver, error)
type FilterPointResolver ¶
type FilterPointResolver struct {
// contains filtered or unexported fields
}
func (*FilterPointResolver) Address ¶
func (qr *FilterPointResolver) Address(ctx context.Context) (*string, error)
func (*FilterPointResolver) Blockchain ¶
func (qr *FilterPointResolver) Blockchain(ctx context.Context) (*string, error)
func (*FilterPointResolver) Name ¶
func (qr *FilterPointResolver) Name(ctx context.Context) (*string, error)
func (*FilterPointResolver) Symbol ¶
func (qr *FilterPointResolver) Symbol(ctx context.Context) (*string, error)
type QuotationResolver ¶
type QuotationResolver struct {
// contains filtered or unexported fields
}
func (*QuotationResolver) Data ¶
func (qr *QuotationResolver) Data(ctx context.Context) (*string, error)
func (*QuotationResolver) ITIN ¶
func (qr *QuotationResolver) ITIN(ctx context.Context) (*string, error)
func (*QuotationResolver) MAIR ¶
func (qr *QuotationResolver) MAIR(ctx context.Context) (*graphql.Time, error)
func (*QuotationResolver) Name ¶
func (qr *QuotationResolver) Name(ctx context.Context) (*string, error)
func (*QuotationResolver) Price ¶
func (qr *QuotationResolver) Price(ctx context.Context) (*float64, error)
func (*QuotationResolver) Source ¶
func (qr *QuotationResolver) Source(ctx context.Context) (*string, error)
type StringResolver ¶
type StringResolver struct {
// contains filtered or unexported fields
}
type SupplyResolver ¶
type SupplyResolver struct {
// contains filtered or unexported fields
}
func (*SupplyResolver) CirculatingSupply ¶
func (qr *SupplyResolver) CirculatingSupply(ctx context.Context) (*float64, error)
func (*SupplyResolver) MA ¶
func (qr *SupplyResolver) MA(ctx context.Context) (*graphql.Time, error)
func (*SupplyResolver) Source ¶
func (qr *SupplyResolver) Source(ctx context.Context) (*string, error)
func (*SupplyResolver) Supply ¶
func (qr *SupplyResolver) Supply(ctx context.Context) (*float64, error)
type TradeBlock ¶
Click to show internal directories.
Click to hide internal directories.