Documentation ¶
Index ¶
- type API
- func (s *API) ApiAppVersion(c echo.Context) error
- func (s *API) ApiSessionCreate(c echo.Context) error
- func (s *API) ApiSessionDelete(c echo.Context, session api.SessionUUID) error
- func (s *API) ApiSessionDeleteAllRequests(c echo.Context, session api.SessionUUID) error
- func (s *API) ApiSessionDeleteRequest(c echo.Context, session api.SessionUUID, request api.RequestUUID) error
- func (s *API) ApiSessionGetAllRequests(c echo.Context, sessionUuid api.SessionUUID) error
- func (s *API) ApiSessionGetRequest(c echo.Context, session api.SessionUUID, requestUuid api.RequestUUID) error
- func (s *API) ApiSettings(c echo.Context) error
- func (s *API) AppMetrics(c echo.Context) error
- func (s *API) LivenessProbe(c echo.Context) error
- func (s *API) LivenessProbeHead(c echo.Context) error
- func (s *API) ReadinessProbe(c echo.Context) error
- func (s *API) ReadinessProbeHead(c echo.Context) error
- func (s *API) WebsocketSession(c echo.Context, sessionUuid api.SessionUUID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) ApiAppVersion ¶
func (s *API) ApiAppVersion(c echo.Context) error
ApiAppVersion returns application version.
func (*API) ApiSessionCreate ¶
func (s *API) ApiSessionCreate(c echo.Context) error
ApiSessionCreate creates a new session with passed parameters.
func (*API) ApiSessionDelete ¶
func (s *API) ApiSessionDelete(c echo.Context, session api.SessionUUID) error
ApiSessionDelete deletes the session with the passed UUID (and all associated requests).
func (*API) ApiSessionDeleteAllRequests ¶
func (s *API) ApiSessionDeleteAllRequests(c echo.Context, session api.SessionUUID) error
ApiSessionDeleteAllRequests deletes all recorded session requests.
func (*API) ApiSessionDeleteRequest ¶
func (s *API) ApiSessionDeleteRequest(c echo.Context, session api.SessionUUID, request api.RequestUUID) error
ApiSessionDeleteRequest deletes the request with passed UUID.
func (*API) ApiSessionGetAllRequests ¶
func (s *API) ApiSessionGetAllRequests(c echo.Context, sessionUuid api.SessionUUID) error
ApiSessionGetAllRequests returns all session recorded requests.
func (*API) ApiSessionGetRequest ¶
func (s *API) ApiSessionGetRequest(c echo.Context, session api.SessionUUID, requestUuid api.RequestUUID) error
func (*API) ApiSettings ¶
func (s *API) ApiSettings(c echo.Context) error
ApiSettings returns application settings.
func (*API) AppMetrics ¶
func (s *API) AppMetrics(c echo.Context) error
func (*API) LivenessProbe ¶
func (s *API) LivenessProbe(c echo.Context) error
LivenessProbe returns code 200 if the application is alive.
func (*API) LivenessProbeHead ¶
func (s *API) LivenessProbeHead(c echo.Context) error
LivenessProbeHead is an alias for the LivenessProbe.
func (*API) ReadinessProbe ¶
func (s *API) ReadinessProbe(c echo.Context) error
ReadinessProbe returns code 200 if the application is ready to serve traffic.
func (*API) ReadinessProbeHead ¶
func (s *API) ReadinessProbeHead(c echo.Context) error
ReadinessProbeHead is an alias for the ReadinessProbe.
func (*API) WebsocketSession ¶
func (s *API) WebsocketSession(c echo.Context, sessionUuid api.SessionUUID) error
WebsocketSession returns websocket session.