handlers

package
v0.0.0-...-9e2ba92 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

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)

Jump to

Keyboard shortcuts

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