Documentation ¶
Index ¶
- func NewOrchestratorRouter(apiConfig model.APIConfig, patch model.RecipeVersion, svc *discord.Handler, ...) http.Handler
- func ToTimeHookFunc() mapstructure.DecodeHookFunc
- type OrchestratorService
- func (o *OrchestratorService) BuyersGuide(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) BuyersGuideExtended(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) Choice(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) Clear(session transport.Session, _ transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) Component(_ transport.Session, _ transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) Group(_ transport.Session, _ transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) Help(session transport.Session, _ transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) Price(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) Realm(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) ShoppingList(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) ShoppingListAdd(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
- func (o *OrchestratorService) ShoppingListRemove(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrchestratorRouter ¶
func NewOrchestratorRouter(apiConfig model.APIConfig, patch model.RecipeVersion, svc *discord.Handler, bot *discordgo.Session) http.Handler
NewOrchestratorRouter creates an instrumented router for serving http requests
func ToTimeHookFunc ¶
func ToTimeHookFunc() mapstructure.DecodeHookFunc
Types ¶
type OrchestratorService ¶
type OrchestratorService struct { PendingChoices cmap.ConcurrentMap AucbotURL string AucbotAuth model.HTTPAuth Client *http.Client }
func (*OrchestratorService) BuyersGuide ¶
func (o *OrchestratorService) BuyersGuide(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) BuyersGuideExtended ¶
func (o *OrchestratorService) BuyersGuideExtended(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) Choice ¶
func (o *OrchestratorService) Choice(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) Clear ¶
func (o *OrchestratorService) Clear(session transport.Session, _ transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) Component ¶
func (o *OrchestratorService) Component(_ transport.Session, _ transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) Group ¶
func (o *OrchestratorService) Group(_ transport.Session, _ transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) Help ¶
func (o *OrchestratorService) Help(session transport.Session, _ transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) Price ¶
func (o *OrchestratorService) Price(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) Realm ¶
func (o *OrchestratorService) Realm(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) ShoppingList ¶
func (o *OrchestratorService) ShoppingList(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) ShoppingListAdd ¶
func (o *OrchestratorService) ShoppingListAdd(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
func (*OrchestratorService) ShoppingListRemove ¶
func (o *OrchestratorService) ShoppingListRemove(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)
Click to show internal directories.
Click to hide internal directories.