Beispiel #1
0
//valid all value by format,not limit require.
func (h *HTTPSession) ValidCheckValN(f string, args ...interface{}) error {
	return util.ValidAttrF(f, h.CheckVal, false, args...)
}
Beispiel #2
0
//valid require value by format,limit require.
func (h *HTTPSession) ValidRVal(f string, args ...interface{}) error {
	return util.ValidAttrF(f, h.RVal, true, args...)
}