package
0.26.33
Repository: https://github.com/openziti/edge-api.git
Documentation: pkg.go.dev

# Functions

NewDeleteSession creates a new http.Handler for the delete session operation.
NewDeleteSessionBadRequest creates DeleteSessionBadRequest with default headers values.
NewDeleteSessionConflict creates DeleteSessionConflict with default headers values.
NewDeleteSessionOK creates DeleteSessionOK with default headers values.
NewDeleteSessionParams creates a new DeleteSessionParams object There are no default values defined in the spec.
NewDeleteSessionTooManyRequests creates DeleteSessionTooManyRequests with default headers values.
NewDeleteSessionUnauthorized creates DeleteSessionUnauthorized with default headers values.
NewDetailSession creates a new http.Handler for the detail session operation.
NewDetailSessionNotFound creates DetailSessionNotFound with default headers values.
NewDetailSessionOK creates DetailSessionOK with default headers values.
NewDetailSessionParams creates a new DetailSessionParams object There are no default values defined in the spec.
NewDetailSessionRoutePath creates a new http.Handler for the detail session route path operation.
NewDetailSessionRoutePathNotFound creates DetailSessionRoutePathNotFound with default headers values.
NewDetailSessionRoutePathOK creates DetailSessionRoutePathOK with default headers values.
NewDetailSessionRoutePathParams creates a new DetailSessionRoutePathParams object There are no default values defined in the spec.
NewDetailSessionRoutePathTooManyRequests creates DetailSessionRoutePathTooManyRequests with default headers values.
NewDetailSessionRoutePathUnauthorized creates DetailSessionRoutePathUnauthorized with default headers values.
NewDetailSessionTooManyRequests creates DetailSessionTooManyRequests with default headers values.
NewDetailSessionUnauthorized creates DetailSessionUnauthorized with default headers values.
NewListSessions creates a new http.Handler for the list sessions operation.
NewListSessionsBadRequest creates ListSessionsBadRequest with default headers values.
NewListSessionsOK creates ListSessionsOK with default headers values.
NewListSessionsParams creates a new ListSessionsParams object There are no default values defined in the spec.
NewListSessionsTooManyRequests creates ListSessionsTooManyRequests with default headers values.
NewListSessionsUnauthorized creates ListSessionsUnauthorized with default headers values.

# Constants

DeleteSessionBadRequestCode is the HTTP code returned for type DeleteSessionBadRequest.
DeleteSessionConflictCode is the HTTP code returned for type DeleteSessionConflict.
DeleteSessionOKCode is the HTTP code returned for type DeleteSessionOK.
DeleteSessionTooManyRequestsCode is the HTTP code returned for type DeleteSessionTooManyRequests.
DeleteSessionUnauthorizedCode is the HTTP code returned for type DeleteSessionUnauthorized.
DetailSessionNotFoundCode is the HTTP code returned for type DetailSessionNotFound.
DetailSessionOKCode is the HTTP code returned for type DetailSessionOK.
DetailSessionRoutePathNotFoundCode is the HTTP code returned for type DetailSessionRoutePathNotFound.
DetailSessionRoutePathOKCode is the HTTP code returned for type DetailSessionRoutePathOK.
DetailSessionRoutePathTooManyRequestsCode is the HTTP code returned for type DetailSessionRoutePathTooManyRequests.
DetailSessionRoutePathUnauthorizedCode is the HTTP code returned for type DetailSessionRoutePathUnauthorized.
DetailSessionTooManyRequestsCode is the HTTP code returned for type DetailSessionTooManyRequests.
DetailSessionUnauthorizedCode is the HTTP code returned for type DetailSessionUnauthorized.
ListSessionsBadRequestCode is the HTTP code returned for type ListSessionsBadRequest.
ListSessionsOKCode is the HTTP code returned for type ListSessionsOK.
ListSessionsTooManyRequestsCode is the HTTP code returned for type ListSessionsTooManyRequests.
ListSessionsUnauthorizedCode is the HTTP code returned for type ListSessionsUnauthorized.

# Structs

DeleteSession swagger:route DELETE /sessions/{id} Session deleteSession Delete a session Delete a session by id.
DeleteSessionBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies).
DeleteSessionConflict The resource requested to be removed/altered cannot be as it is referenced by another object.
DeleteSessionOK The delete request was successful and the resource has been removed swagger:response deleteSessionOK */.
DeleteSessionParams contains all the bound params for the delete session operation typically these are obtained from a http.Request swagger:parameters deleteSession.
DeleteSessionTooManyRequests The resource requested is rate limited and the rate limit has been exceeded swagger:response deleteSessionTooManyRequests */.
DeleteSessionUnauthorized The supplied session does not have the correct access rights to request this resource swagger:response deleteSessionUnauthorized */.
DeleteSessionURL generates an URL for the delete session operation.
DetailSession swagger:route GET /sessions/{id} Session detailSession Retrieves a single session Retrieves a single session by id.
DetailSessionNotFound The requested resource does not exist swagger:response detailSessionNotFound */.
DetailSessionOK A single session swagger:response detailSessionOK */.
DetailSessionParams contains all the bound params for the detail session operation typically these are obtained from a http.Request swagger:parameters detailSession.
DetailSessionRoutePath swagger:route GET /sessions/{id}/route-path Session detailSessionRoutePath Retrieves a single session's router path Retrieves a single session's route path by id.
DetailSessionRoutePathNotFound The requested resource does not exist swagger:response detailSessionRoutePathNotFound */.
DetailSessionRoutePathOK A single session's route path swagger:response detailSessionRoutePathOK */.
DetailSessionRoutePathParams contains all the bound params for the detail session route path operation typically these are obtained from a http.Request swagger:parameters detailSessionRoutePath.
DetailSessionRoutePathTooManyRequests The resource requested is rate limited and the rate limit has been exceeded swagger:response detailSessionRoutePathTooManyRequests */.
DetailSessionRoutePathUnauthorized The supplied session does not have the correct access rights to request this resource swagger:response detailSessionRoutePathUnauthorized */.
DetailSessionRoutePathURL generates an URL for the detail session route path operation.
DetailSessionTooManyRequests The resource requested is rate limited and the rate limit has been exceeded swagger:response detailSessionTooManyRequests */.
DetailSessionUnauthorized The supplied session does not have the correct access rights to request this resource swagger:response detailSessionUnauthorized */.
DetailSessionURL generates an URL for the detail session operation.
ListSessions swagger:route GET /sessions Session listSessions List sessions Retrieves a list of active sessions resources; supports filtering, sorting, and pagination.
ListSessionsBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies).
ListSessionsOK A list of sessions swagger:response listSessionsOK */.
ListSessionsParams contains all the bound params for the list sessions operation typically these are obtained from a http.Request swagger:parameters listSessions.
ListSessionsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded swagger:response listSessionsTooManyRequests */.
ListSessionsUnauthorized The supplied session does not have the correct access rights to request this resource swagger:response listSessionsUnauthorized */.
ListSessionsURL generates an URL for the list sessions operation.

# Interfaces

DeleteSessionHandler interface for that can handle valid delete session params.
DetailSessionHandler interface for that can handle valid detail session params.
DetailSessionRoutePathHandler interface for that can handle valid detail session route path params.
ListSessionsHandler interface for that can handle valid list sessions params.

# Type aliases

DeleteSessionHandlerFunc turns a function with the right signature into a delete session handler.
DetailSessionHandlerFunc turns a function with the right signature into a detail session handler.
DetailSessionRoutePathHandlerFunc turns a function with the right signature into a detail session route path handler.
ListSessionsHandlerFunc turns a function with the right signature into a list sessions handler.