Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthCheck ¶
type HealthCheck func() bool
type RouteGroup ¶
type RouteGroup struct {
// contains filtered or unexported fields
}
func (*RouteGroup) Group ¶
func (r *RouteGroup) Group(routingKey string) *RouteGroup
func (*RouteGroup) Include ¶
func (r *RouteGroup) Include(handlers ...context.Handler)
type Router ¶
type Router struct { RouteGroup // contains filtered or unexported fields }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) HealthCheck ¶
func (s *Service) HealthCheck(name string, healthCheck HealthCheck)
Click to show internal directories.
Click to hide internal directories.