Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NNTPClient ¶
NNTPClient comment
func ConnectAndAuthenticate ¶
func ConnectAndAuthenticate(server, username, password string, useSSL bool) (*NNTPClient, error)
ConnectAndAuthenticate returns a NNTPClient that is authenticated to the server TODO: allow for different SSL configs.
func NewClient ¶
func NewClient(c NNTPConnection) *NNTPClient
NewClient returns a NNTPClient with the given connection and defaults set.
func (*NNTPClient) GroupScanForward ¶
GroupScanForward looks for new messages in a particular Group. Returns the number of articles scanned and if an error was encountered
Click to show internal directories.
Click to hide internal directories.