Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardCache ¶
type CardCache interface { Get(cardName string) ([]cardsinfo.ScgCardPrice, error) Set(cardName string, prices []cardsinfo.ScgCardPrice) }
type CardInfoFetcher ¶
type Scenario ¶
type Scenario struct { Sender Sender Logger *log.Logger InfoFetcher CardInfoFetcher Cache CardCache }
func (*Scenario) HandleSearch ¶
func (s *Scenario) HandleSearch(msg *UserMessage)
type TestScenarioCtx ¶
func GetTestScenarioCtx ¶
func GetTestScenarioCtx() TestScenarioCtx
type UserMessage ¶
Click to show internal directories.
Click to hide internal directories.