orchestrator

package
v0.0.0-...-7360598 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

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 (*OrchestratorService) BuyersGuideExtended

func (o *OrchestratorService) BuyersGuideExtended(session transport.Session, args transport.ServiceFuncArgs) (*transport.Response, error)

func (*OrchestratorService) Choice

func (*OrchestratorService) Clear

func (*OrchestratorService) Component

func (*OrchestratorService) Group

func (*OrchestratorService) Help

func (*OrchestratorService) Price

func (*OrchestratorService) Realm

func (*OrchestratorService) ShoppingList

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)

Jump to

Keyboard shortcuts

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