Documentation ¶
Index ¶
Constants ¶
View Source
const ( RequestLatencyDuration = "RequestLatency" RequestCount = "RequestCount" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(logger lager.Logger, runner auctiontypes.AuctionRunner, metronClient loggingclient.IngressClient) http.Handler
Types ¶
type HandlerError ¶
type HandlerError struct {
Error string `json:"error"`
}
type LRPAuctionHandler ¶
type LRPAuctionHandler struct {
// contains filtered or unexported fields
}
func NewLRPAuctionHandler ¶
func NewLRPAuctionHandler(runner auctiontypes.AuctionRunner) *LRPAuctionHandler
func (*LRPAuctionHandler) Create ¶
func (h *LRPAuctionHandler) Create(w http.ResponseWriter, r *http.Request, logger lager.Logger)
type TaskAuctionHandler ¶
type TaskAuctionHandler struct {
// contains filtered or unexported fields
}
func NewTaskAuctionHandler ¶
func NewTaskAuctionHandler(runner auctiontypes.AuctionRunner) *TaskAuctionHandler
func (*TaskAuctionHandler) Create ¶
func (h *TaskAuctionHandler) Create(w http.ResponseWriter, r *http.Request, logger lager.Logger)
Click to show internal directories.
Click to hide internal directories.