Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogWrap ¶
func LogWrap(logger lager.Logger, loggableHandlerFunc LoggableHandlerFunc) http.HandlerFunc
Types ¶
type LeasesAcquire ¶
type LeasesAcquire struct {
Marshaler marshal.Marshaler
Unmarshaler marshal.Unmarshaler
LeaseAcquirer leaseAcquirer
ErrorResponse errorResponse
}
func (*LeasesAcquire) ServeHTTP ¶
func (l *LeasesAcquire) ServeHTTP(logger lager.Logger, w http.ResponseWriter, req *http.Request)
type LeasesIndex ¶
type LeasesIndex struct {
Marshaler marshal.Marshaler
LeaseRepository leaseRepository
ErrorResponse errorResponse
}
func (*LeasesIndex) ServeHTTP ¶
func (l *LeasesIndex) ServeHTTP(logger lager.Logger, w http.ResponseWriter, req *http.Request)
type LoggableHandlerFunc ¶
type ReleaseLease ¶
type ReleaseLease struct {
Marshaler marshal.Marshaler
Unmarshaler marshal.Unmarshaler
LeaseReleaser leaseReleaser
ErrorResponse errorResponse
}
func (*ReleaseLease) ServeHTTP ¶
func (l *ReleaseLease) ServeHTTP(logger lager.Logger, w http.ResponseWriter, req *http.Request)
type RenewLease ¶
type RenewLease struct {
Unmarshaler marshal.Unmarshaler
LeaseRenewer leaseRenewer
ErrorResponse errorResponse
}
func (*RenewLease) ServeHTTP ¶
func (l *RenewLease) ServeHTTP(logger lager.Logger, w http.ResponseWriter, req *http.Request)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.