Menu Close

Go – net package in go golang

Here, we will dive into deep learning net package of go golang. net package in go provides a domain name resolution, portable interface for network I/O, including TCP/IP, UDP and Unix domain sockets.

It provides access to low-level networking primitives.

How to import net package in go golang:

import "net"

net package

List of functions of net package are given below:

net/http package

List of functions of net/http package are given below:

net/mail package

List of functions of net/mail package are given below:

net/rpc package

List of functions of net/rpc package are given below:

net/smtp package

List of functions of net/smtp package are given below:

net/textproto package

List of functions of net/textproto package are given below:

net/url package

List of functions of net/url package are given below:

To learn more about golang, Please refer given below link.

https://techieindoor.com/go-lang-tutorial/

References:

https://golang.org/doc/

Posted in golang, net

Leave a Reply

Your email address will not be published. Required fields are marked *