Commits


rename to regular README name


rename module


nntp: minor doc fixups Actually refer to the specification. No usenet, and redundant comments.


nntp: remove nntpserver package Don't think there's anything special about it to separate it. Also abandon unfinished tests


nntp: remove unused files Don't need GitHub to run tests for us. go.sum unused as no modules


nntp: move errors to nntp package There's nothing special about the error codes and server implementation. It's just part of the protocol


nntp: remove couchserver example No external deps


Added go module stuff


Adding a go workflow.


Add client helper for multi-line roundtrip handling


Add Capability support and STARTTLS to nntpclient


enable client creation from an existing connection


Fix leading . in output for LIST OVERVIEW.FMT


Use a more meaningful 215 text for LIST OVERVIEW.FMT


server: Use net.Conn interface in Process() This allows implementations to pass a crypto/tls Conn, for instance.


Fix the link to the couchserver example


Comment consistency++


Do proper error handling in the example


And maybe set a good example in the client by closing


Use fmt instead of strconv for simple int stringing


Implemented client.Close() Because sometimes, clients don't stay connected forever.


authenticate first Otherwise, I get the following: 2014/10/28 12:16:54 Got banner: news.example.com NNRP Service Ready (posting ok) (yEnc enabled). 2014/10/28 12:16:54 Error in setting reader mode: 480 Authentication required for command Closes #2


Added a LICENSE Closes #1


Remaining lint work


Fewer Ns in nntpserver