func (r *Router) CheckAndSetDefaults() error {
	for _, v := range r.alpnHandlers {
		if err := v.CheckAndSetDefaults(); err != nil {
			return err
		}
	}
	return nil
}
// CheckAndSetDefaults verifies the constraints for Router.
CheckAndSetDefaults verifies the constraints for Router.
// CheckAndSetDefaults verifies the constraints for Router .
func (r *Router) CheckAndSetDefaults() error {
	for _, v := range r.alpnHandlers {
		if err := v.CheckAndSetDefaults(); err != nil {
			return err
		}
	}
	return nil
}
func ( r * Router ) CheckAndSetDefaults ( ) error { for _ , v := range r . alpnHandlers { if err := v . CheckAndSetDefaults ( ) ; err != nil { return err } } return nil }
CheckAndSetDefaults verifies the constraints for Router.
CheckAndSetDefaults verifies the constraints for Router .