func Register(r *gin.RouterGroup, s *Service, conf *config.ChaosDashboardConfig)
Register mounts HTTP handler on the mux.
type Service struct {
// contains filtered or unexported fields
}
func NewService(
conf *config.ChaosDashboardConfig,
logger logr.Logger,
) (*Service, error)
NewService returns an experiment service instance.
func (s *Service) Middleware(c *gin.Context)