Request handler is a package extend from net/http. It provides HTTP client and server implementations easier.
- Get, Head, Post, and PostForm make HTTP (or HTTPS) requests
- Clients and Transports are safe for concurrent use by multiple goroutines and for efficiency should only be created once and re-used.
type RequestModel struct {
URL string
TokenType TokenType
Token string
Username string
Password string
Body string
}
Request handler requires Go v1.11+ to run.
Install the package.
$ go get github.com/nguyencatpham/request-handler
See KUBERNETES.md
- Write MORE Tests
- Add Night Mode
MIT