You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

authentication.go 455 B

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