Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoAcceptFrontend ¶
type AutoAcceptFrontend struct{}
func (AutoAcceptFrontend) ApproveOffer ¶
func (AutoAcceptFrontend) CheckSimilarity ¶
type ConsoleFrontend ¶
type ConsoleFrontend struct {
// contains filtered or unexported fields
}
func NewConsoleFrontend ¶
func NewConsoleFrontend(similarityPercentage int64, useExchangeRate bool, exchangeRate Fetcher) *ConsoleFrontend
func (*ConsoleFrontend) ApproveOffer ¶
func (*ConsoleFrontend) CheckSimilarity ¶
type RuleBasedFrontend ¶
type RuleBasedFrontend struct {
// contains filtered or unexported fields
}
func NewRuleBasedFrontend ¶
func NewRuleBasedFrontend(absDiffRule float64, relDiffRule float64, exchangeRate Fetcher) *RuleBasedFrontend
func (*RuleBasedFrontend) ApproveOffer ¶
func (*RuleBasedFrontend) CheckSimilarity ¶
Click to show internal directories.
Click to hide internal directories.