On Jul 12, 2020, at 10:17 AM, Harris Newman <harris.s.new...@gmail.com> wrote:
> 
> I'm writing a telnet server and have found several packages which provide 
> telnet functionality, but can't find any telnet support in the standard 
> library or other packages in the golang.org site. 
> 
> Is there a golang supported telnet package that allows writing of telnet 
> clients/servers?  If so, can you point me to it?

I'd assume it's unlikely to ever be in the standard library for the same reason 
FTP clients/servers are unlikely to be there: telnet and FTP are both wildly 
insecure and largely obsolete in the commercial world, so there's relatively 
little reason for the standard library maintainers to spend the effort 
maintaining them given the overall utility to the Go community.

That said, there are lots of valid reasons to write Go telnet and FTP clients 
(speaking as a vintage computer enthusiast who frequently makes use of both 
protocols as well as Gopher, AppleTalk, DECnet and other things that will never 
live in the stdlib). They're just not the kind of really broad use case that 
would warrant inclusion in the standard library. But they're an excellent 
candidate for a popular third-party implementation if you or someone else wants 
to maintain that.

In general, as far as I can see, the standard library tends to be constrained 
to:

- Things that are useful/needed for Go itself (e.g. text processing that the 
compiler uses)
- Selected very popular use cases (e.g. there is a built-in JSON 
encoder/decoder and HTTP server, but not YAML, Protobuf or gRPC, though the 
latter two are maintained separately by Google)
- A handful of esoteric tools proven useful (e.g. expvar)

Other than that, the rich array of available third-party modules is your friend.


- Dave

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/74A2ED70-0043-42B1-B069-D7788630A381%40gmail.com.

Reply via email to