Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶ added in v1.5.5
type Component interface { Get(x *gin.Context) CptResponse Clean() }
func NewComponent ¶ added in v1.5.5
type CptResponse ¶ added in v1.5.5
type CptResponse struct { InfoResponse StatusResponse }
type FctMessage ¶ added in v1.5.5
type Info ¶ added in v1.5.5
type Info interface { Get(x *gin.Context) InfoResponse Clean() IsValid() bool }
type InfoResponse ¶ added in v1.5.5
type InfoResponse struct { Name string `json:"name"` Release string `json:"release"` HashBuild string `json:"hash_build"` Mandatory bool `json:"mandatory"` }
func (*InfoResponse) Clone ¶ added in v1.5.5
func (i *InfoResponse) Clone() InfoResponse
type Response ¶ added in v1.5.5
type Response struct { InfoResponse StatusResponse Components []CptResponse `json:"components"` }
func (Response) IsOkMandatory ¶ added in v1.5.5
type RouteStatus ¶ added in v1.5.5
type RouteStatus interface { MiddlewareAdd(mdw ...gin.HandlerFunc) HttpStatusCode(codeOk, codeKO, codeWarning int) Get(c *gin.Context) Register(prefix string, register router.RegisterRouter) RegisterGroup(group, prefix string, register router.RegisterRouterInGroup) ComponentNew(key string, cpt Component) ComponentDel(key string) ComponentDelAll(containKey string) }
func NewVersion ¶ added in v1.5.5
type StatusResponse ¶
func (*StatusResponse) Clone ¶ added in v1.5.5
func (s *StatusResponse) Clone() StatusResponse
Click to show internal directories.
Click to hide internal directories.