Documentation
¶
Index ¶
- func GetNav(schemeCode string, commodityName string) ([]*price.Price, error)
- func GetSchemes() ([]*scheme.Scheme, error)
- type PriceProvider
- func (p *PriceProvider) AutoComplete(db *gorm.DB, field string, filter map[string]string) []price.AutoCompleteItem
- func (p *PriceProvider) AutoCompleteFields() []price.AutoCompleteField
- func (p *PriceProvider) ClearCache(db *gorm.DB)
- func (p *PriceProvider) Code() string
- func (p *PriceProvider) Description() string
- func (p *PriceProvider) GetPrices(code string, commodityName string) ([]*price.Price, error)
- func (p *PriceProvider) Label() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSchemes ¶
Types ¶
type PriceProvider ¶ added in v0.5.1
type PriceProvider struct { }
func (*PriceProvider) AutoComplete ¶ added in v0.5.1
func (p *PriceProvider) AutoComplete(db *gorm.DB, field string, filter map[string]string) []price.AutoCompleteItem
func (*PriceProvider) AutoCompleteFields ¶ added in v0.5.1
func (p *PriceProvider) AutoCompleteFields() []price.AutoCompleteField
func (*PriceProvider) ClearCache ¶ added in v0.5.1
func (p *PriceProvider) ClearCache(db *gorm.DB)
func (*PriceProvider) Code ¶ added in v0.5.1
func (p *PriceProvider) Code() string
func (*PriceProvider) Description ¶ added in v0.5.1
func (p *PriceProvider) Description() string
func (*PriceProvider) Label ¶ added in v0.5.1
func (p *PriceProvider) Label() string
Click to show internal directories.
Click to hide internal directories.