metal

package
v0.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PriceProvider

type PriceProvider struct {
}

func (*PriceProvider) AutoComplete

func (p *PriceProvider) AutoComplete(db *gorm.DB, field string, filter map[string]string) []price.AutoCompleteItem

func (*PriceProvider) AutoCompleteFields

func (p *PriceProvider) AutoCompleteFields() []price.AutoCompleteField

func (*PriceProvider) ClearCache

func (p *PriceProvider) ClearCache(db *gorm.DB)

func (*PriceProvider) Code

func (p *PriceProvider) Code() string

func (*PriceProvider) Description

func (p *PriceProvider) Description() string

func (*PriceProvider) GetPrices

func (p *PriceProvider) GetPrices(code string, commodityName string) ([]*price.Price, error)

func (*PriceProvider) Label

func (p *PriceProvider) Label() string

Jump to

Keyboard shortcuts

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