1 2 3 4 5 6 7 8 9 10 11 12 13
package auth type AuthenticationForm struct { Type int `form:"type"` Name string `form:"name" binding:"MaxSize(50)"` Domain string `form:"domain"` Host string `form:"host"` Port int `form:"port"` BaseDN string `form:"base_dn"` Attributes string `form:"attributes"` Filter string `form:"filter"` MsAdSA string `form:"ms_ad_sa"` }