🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/go-kivik/proxy

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
p

github.com/go-kivik/proxy

v0.0.1
99

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

Version published
Created
Issues
0

Build Status Codecov GoDoc

Kivik Proxy

This package provides a CouchDB proxy accessible as a Go http.Handler.

Example

package main

import (
    "log"
    "net/http"

    "github.com/go-kivik/proxy"
)

func main() {
    p, err := proxy.New("http://localhost:5984")
    if err != nil {
        log.Fatal(err)
    }
    s := &http.Server{
        Handler: p,
    }
    log.Fatal(s.ListenAndServe(":8080")) // localhost:5984 now proxied to localhost:8080
}

What license is Kivik released under?

This software is released under the terms of the Apache 2.0 license. See LICENCE.md, or read the full license.

FAQs

Package last updated on 10 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts