Skip to content

hunkeelin/request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

request

CircleCI Go Report Card GoDoc GitHub license

Motivations

This is a practice library to build request. The library is suppose to be minimalistic to avoid any type of bugs and unexpected behavior.

Golang version

request is currently compatible with golang version from 1.12+.

Request Builder GoDoc

package main
  
import (
    "fmt"
    request "github.com/hunkeelin/request"
    "io/ioutil"
)

func main() {
    rb := request.RequestBuilder{}
    resp, err := rb.SetURL("https://google.com").Do()
    if err != nil {
        panic(err)
    }
    f, err := ioutil.ReadAll(resp.Body)
    if err != nil {
        panic(err)
    }
    fmt.Println(string(f))
}

CHANGELOG

  • Added a way to make mtls request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages