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

26 line
684B

  1. // Copyright 2015 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package structs
  5. // Email an email address belonging to a user
  6. type Email struct {
  7. // swagger:strfmt email
  8. Email string `json:"email"`
  9. Verified bool `json:"verified"`
  10. Primary bool `json:"primary"`
  11. }
  12. // CreateEmailOption options when creating email addresses
  13. type CreateEmailOption struct {
  14. // email addresses to add
  15. Emails []string `json:"emails"`
  16. }
  17. // DeleteEmailOption options when deleting email addresses
  18. type DeleteEmailOption struct {
  19. // email addresses to delete
  20. Emails []string `json:"emails"`
  21. }
上海开阖软件有限公司 沪ICP备12045867号-1