package
Version:
v0.0.0-...-32e545c
Opens a new window with list of versions in this module.
Published: Feb 16, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type GenericResponse struct {
Status *string `json:"status,omitempty" yaml:"status,omitempty" example:"OK"`
Errors []string `json:"errors,omitempty" yaml:"errors,omitempty" example:"[\"error1\", \"error2\"]"`
}
type Handler interface {
Healthcheck(c *gin.Context)
}
type HealthcheckResponse struct {
Status string `json:"status" example:"OK"`
}
type PageInfo struct {
HasNextPage bool `json:"has_next_page"`
HasPrevPage bool `json:"has_prev_page"`
TotalRecord int `json:"total_record"`
TotalPage *int `json:"total_page,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.