Documentation

Index

Constants

View Source
const (
	RequestLatencyDuration = "RequestLatency"
	RequestCount           = "RequestCount"
)

Variables

This section is empty.

Functions

func New

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)