Posted in: Uncategorized

Get a URL Parameter from a client Request

Often it’s important to read off the parameters sent through from the request. If it’s a GET request these will lie within the url itself and can be read using the request’s URL property. It’s important to note that when getting the parameters in this way it will always return an array (or slice?). Our […]

Posted in: Uncategorized

Go Lang

gofmt برای فرمت بندی کردن برنامه های گو استفاده میشه Gofmt formats Go programs. It uses tabs for indentation and blanks for alignment. Alignment assumes that an editor is using a fixed-width font. Without an explicit path, it processes the standard input. Given a file, it operates on that file; given a directory, it operates […]

Posted in: Network, OSI Model, Uncategorized

Ping and ICMP Error Messages

Ping is a network tool mainly used to test whether a host is reachable across an IP network and to measure the round-trip time for packets sent from source to the destination computer. Ping works by sending Internet Control Message Protocol (ICMP) echo request packets to the destination host and waits for an ICMP response. […]