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

# Functions

NewCreateSession creates a new http.Handler for the create session operation.
NewCreateSessionBadRequest creates CreateSessionBadRequest with default headers values.
NewCreateSessionCreated creates CreateSessionCreated with default headers values.
NewCreateSessionNotFound creates CreateSessionNotFound with default headers values.
NewCreateSessionParams creates a new CreateSessionParams object There are no default values defined in the spec.
NewCreateSessionTooManyRequests creates CreateSessionTooManyRequests with default headers values.
NewCreateSessionUnauthorized creates CreateSessionUnauthorized with default headers values.
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.
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

CreateSessionBadRequestCode is the HTTP code returned for type CreateSessionBadRequest.
CreateSessionCreatedCode is the HTTP code returned for type CreateSessionCreated.
CreateSessionNotFoundCode is the HTTP code returned for type CreateSessionNotFound.
CreateSessionTooManyRequestsCode is the HTTP code returned for type CreateSessionTooManyRequests.
CreateSessionUnauthorizedCode is the HTTP code returned for type CreateSessionUnauthorized.
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.
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

CreateSession swagger:route POST /sessions Session createSession Create a session resource Create a session resource.
CreateSessionBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies).
CreateSessionCreated The create request was successful and the resource has been added at the following location swagger:response createSessionCreated */.
CreateSessionNotFound The requested resource does not exist swagger:response createSessionNotFound */.
CreateSessionParams contains all the bound params for the create session operation typically these are obtained from a http.Request swagger:parameters createSession.
CreateSessionTooManyRequests The resource requested is rate limited and the rate limit has been exceeded swagger:response createSessionTooManyRequests */.
CreateSessionUnauthorized The supplied session does not have the correct access rights to request this resource swagger:response createSessionUnauthorized */.
CreateSessionURL generates an URL for the create session operation.
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.
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

CreateSessionHandler interface for that can handle valid create session params.
DeleteSessionHandler interface for that can handle valid delete session params.
DetailSessionHandler interface for that can handle valid detail session params.
ListSessionsHandler interface for that can handle valid list sessions params.

# Type aliases

CreateSessionHandlerFunc turns a function with the right signature into a create session handler.
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.
ListSessionsHandlerFunc turns a function with the right signature into a list sessions handler.