Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("Status not found")
)
Functions ¶
This section is empty.
Types ¶
type IHandler ¶ added in v1.3.1
func NewHandler ¶ added in v1.3.3
type Service ¶ added in v1.3.1
type Service struct {
Handler IHandler
}
func (*Service) Get ¶ added in v1.3.1
Get godoc @Summary Get Status @Description get status given a site id @Tags Status @Accept json @Produce json @Param id path int true "Site ID" @Success 200 {object} Status @Failure 400 {object} httperror.HTTPError @Failure 404 {object} httperror.HTTPError @Failure 500 {object} httperror.HTTPError @Router /api/status/{name} [get]
Click to show internal directories.
Click to hide internal directories.