Skip to content
/ proxy Public
forked from go-kivik/proxy

A simple Go http.Handler proxy for CouchDB

License

Notifications You must be signed in to change notification settings

esb6/proxy

 
 

Repository files navigation

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.

About

A simple Go http.Handler proxy for CouchDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 82.9%
  • Shell 17.1%