Documentation
¶
Overview ¶
Package common is to handle REST API for common funcitonalities
Package common is to handle REST API for common funcitonalities
Index ¶
- func GetReadyz(c echo.Context) error
- func Send(c echo.Context, httpCode int, json interface{}) error
- func SendExistence(c echo.Context, httpCode int, existence bool) error
- func SendMessage(c echo.Context, httpCode int, msg string) error
- func Validate(c echo.Context, params []string) error
- type Existence
- type SimpleMessage
- type Status
- type TbConnectionName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReadyz ¶ added in v0.2.2
GetReadyz godoc @ID GetReadyz @Summary Check Beetle is ready @Description Check Beetle is ready @Tags [Admin] System management @Accept json @Produce json @Param X-Request-Id header string false "Unique request ID (auto-generated if not provided). Used for tracking request status and correlating logs." @Success 200 {object} SimpleMessage @Failure 503 {object} SimpleMessage @Router /readyz [get]
Types ¶
type SimpleMessage ¶ added in v0.2.1
type TbConnectionName ¶
type TbConnectionName struct {
ConnectionName string `json:"connectionName"`
}
Click to show internal directories.
Click to hide internal directories.