package
0.0.0-20231211011844-1e169f5e9074
Repository: https://github.com/udhayprakash/golangmaterial.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
GetIP gets a requests IP address by reading off the forwarded-for header (for proxies) and falls back to use the remote address.
Logger records incoming requests and uses the log package to print http method, route url and duration to screen/logs.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

Host name of the HTTP Server.
Port of the HTTP Server.

# Variables

GetRequest Handler.
PathVariable Handler.
PostRequest Handler.

# Structs

Create a struct that models the structure of a user, both in the request body, and in the DB.
Item represents the model for an item in the order.
Order represents the model for an order.