Skip to content

nguyencatpham/request-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Request Handler

N|Solid

Build Status

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.

This project is deprecated. It has moved to github.com/onskycloud/request-handler

Getting Started!

Model input

type RequestModel struct {
  URL       string
  TokenType TokenType
  Token     string
  Username  string
  Password  string
  Body      string
}

Installation

Request handler requires Go v1.11+ to run.

Install the package.

$ go get github.com/nguyencatpham/request-handler

Kubernetes + Google Cloud

See KUBERNETES.md

Todos

  • Write MORE Tests
  • Add Night Mode

License

MIT