Documentation ¶
Overview ¶
Package akismet is Go utils for working with Akismet spam detection service
Index ¶
Constants ¶
View Source
const ( APIAddress = "rest.akismet.com" APIProtocol = "https" APIVersion = "1.1" DateFormat = time.RFC3339 SubmitResponseContentOK = "Thanks for making the web a better place." )
Basic informations about Akismet API
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is Akismet client struct
func (*Client) SubmitSpam ¶
SubmitSpam is method which send to Akismet API request about found spam
func (*Client) VeryfiClient ¶
VeryfiClient is method which check key & site parameters are valid
type Options ¶
type Options struct { UserIP string UserAgent string Referrer string Permalink string Author string AuthorEmail string AuthorURL string Content string Created string Modified string Lang string Charset string UserRole string IsTest string }
Options is a struct which contains all of possible arguments for Akismet
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/jarcoal/httpmock
HTTPmock provides tools for mocking HTTP responses.
|
HTTPmock provides tools for mocking HTTP responses. |
_workspace/src/github.com/stretchr/testify/assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
|
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system. |
Click to show internal directories.
Click to hide internal directories.