File: comment.go

package info (click to toggle)
golang-github-adtac-go-akismet 0.0~git20181220.0ca9e10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 104 kB
  • sloc: makefile: 2
file content (18 lines) | stat: -rw-r--r-- 742 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package akismet

type Comment struct {
	Blog               string `form:"blog"`
	UserIP             string `form:"user_ip"`
	UserAgent          string `form:"user_agent"`
	Referrer           string `form:"referrer"`
	Permalink          string `form:"permalink"`
	CommentType        string `form:"comment_type"`
	CommentAuthor      string `form:"comment_author"`
	CommentAuthorEmail string `form:"comment_author_email"`
	CommentAuthorURL   string `form:"comment_author_url"`
	CommentContent     string `form:"comment_content"`
	BlogLang           string `form:"blog_lang"`
	BlogCharset        string `form:"blog_charset"`
	UserRole           string `form:"user_role"`
	// TODO: Add support for comment_date_gmt and comment_post_modified_gmt
}