Ecosyste.ms: Funds

An open API service for providing issue and pull request metadata for open source projects.

https://github.com/elazarl/goproxy

Last synced: about 4 hours ago

Repository metadata:

An HTTP proxy library for Go


Owner metadata:


Committers metadata

Last synced: 14 days ago

Total Commits: 262
Total Committers: 87
Avg Commits per committer: 3.011
Development Distribution Score (DDS): 0.569

Commits in past year: 8
Committers in past year: 5
Avg Commits per committer in past year: 1.6
Development Distribution Score (DDS) in past year: 0.625

Name Email Commits
Elazar Leibovich e****l@g****m 113
Matthew Zimmerman m****n@g****m 18
Patrick Mezard p****k@m****u 10
Pavel Gabriel a****k@g****m 8
Harry Marr h****r@g****m 6
hgsgtk k****i@a****m 5
Kimo R k****9 4
Andreas Wieland a****d@i****e 4
rapt0r g****z@g****m 3
Matthew Suozzo m****o@g****m 3
Eldon g****b@e****m 3
Aaron Hnatiw a****n@i****e 2
Arthur Baars a****s@g****m 2
Duncan Jones d****s@t****m 2
Kevin M Granger k****8@r****u 2
LivingInPortal l****k@g****m 2
Rajkumar u****e@m****m 2
johnerikhalse j****e@g****m 2
liudanking l****g@g****m 2
Jon Normington j****n 2
Evan Cordell c****n@g****m 1
Fred Yankowski f****y@i****u 1
Gianni Moschini g****i@h****m 1
Issac Trotts i****s@g****m 1
James Hartig f****3@g****m 1
Jens Rantil j****l@t****e 1
Joe Farrell j****l@g****m 1
Joel Williams f****x@g****m 1
Jonathan Giannuzzi j****n@g****e 1
David Bartley b****e@s****m 1
and 57 more...

Issue and Pull Request metadata

Last synced: 1 day ago


Package metadata

go: github.com/elazarl/goproxy

Taken from $GOROOT/src/pkg/net/http/chunked needed to write https responses to client. Package goproxy provides a customizable HTTP proxy, supporting hijacking HTTPS connection. The intent of the proxy, is to be usable with reasonable amount of traffic yet, customizable and programmable. The proxy itself is simply an `net/http` handler. Typical usage is Adding a header to each request For printing the content type of all incoming responses note that we used the ProxyCtx context variable here. It contains the request and the response (Req and Resp, Resp is nil if unavailable) of this specific client interaction with the proxy. To print the content type of all responses from a certain url, we'll add a ReqCondition to the OnResponse function: We can write the condition ourselves, conditions can be set on request and on response Caution! If you give a RespCondition to the OnRequest function, you'll get a run time panic! It doesn't make sense to read the response, if you still haven't got it! Finally, we have convenience function to throw a quick response we close the body of the original response, and return a new 403 response with a short message. Example use cases: 1. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-avgsize To measure the average size of an Html served in your site. One can ask all the QA team to access the website by a proxy, and the proxy will measure the average size of all text/html responses from your host. 2. [not yet implemented] All requests to your web servers should be directed through the proxy, when the proxy will detect html pieces sent as a response to AJAX request, it'll send a warning email. 3. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-httpdump/ Generate a real traffic to your website by real users using through proxy. Record the traffic, and try it again for more real load testing. 4. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-no-reddit-at-worktime Will allow browsing to reddit.com between 8:00am and 17:00pm 5. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-jquery-version Will warn if multiple versions of jquery are used in the same domain. 6. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-upside-down-ternet/ Modifies image files in an HTTP response via goproxy's image extension found in ext/.

  • Homepage: https://github.com/elazarl/goproxy
  • Documentation: https://pkg.go.dev/github.com/elazarl/goproxy#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.0.0-20231117061959-7cc037d33fb5 (published 12 months ago)
  • Last Synced: 2024-11-09T16:31:01.875Z (about 12 hours ago)
  • Versions: 27
  • Dependent Packages: 6,871
  • Dependent Repositories: 42,211
  • Docker Downloads: 4,777,308,090
  • Rankings:
    • Dependent repos count: 0.027%
    • Dependent packages count: 0.029%
    • Docker downloads count: 0.057%
    • Average: 0.377%
    • Forks count: 0.863%
    • Stargazers count: 0.91%
  • Advisories:
go: github.com/elazarl/goproxy/ext

  • Homepage: https://github.com/elazarl/goproxy
  • Documentation: https://pkg.go.dev/github.com/elazarl/goproxy/ext#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.0.0-20231117061959-7cc037d33fb5 (published 12 months ago)
  • Last Synced: 2024-11-09T14:30:34.255Z (about 14 hours ago)
  • Versions: 11
  • Dependent Packages: 868
  • Dependent Repositories: 5,048
  • Docker Downloads: 174,826,189
  • Rankings:
    • Dependent repos count: 0.117%
    • Dependent packages count: 0.137%
    • Docker downloads count: 0.225%
    • Average: 0.45%
    • Forks count: 0.863%
    • Stargazers count: 0.91%
go: gopkg.in/elazarl/goproxy.v1

Taken from $GOROOT/src/pkg/net/http/chunked needed to write https responses to client. Package goproxy provides a customizable HTTP proxy, supporting hijacking HTTPS connection. The intent of the proxy, is to be usable with reasonable amount of traffic yet, customizable and programable. The proxy itself is simply an `net/http` handler. Typical usage is Adding a header to each request For printing the content type of all incoming responses note that we used the ProxyCtx context variable here. It contains the request and the response (Req and Resp, Resp is nil if unavailable) of this specific client interaction with the proxy. To print the content type of all responses from a certain url, we'll add a ReqCondition to the OnResponse function: We can write the condition ourselves, conditions can be set on request and on response Caution! If you give a RespCondition to the OnRequest function, you'll get a run time panic! It doesn't make sense to read the response, if you still haven't got it! Finally, we have convenience function to throw a quick response we close the body of the original repsonse, and return a new 403 response with a short message. Example use cases: 1. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-avgsize To measure the average size of an Html served in your site. One can ask all the QA team to access the website by a proxy, and the proxy will measure the average size of all text/html responses from your host. 2. [not yet implemented] All requests to your web servers should be directed through the proxy, when the proxy will detect html pieces sent as a response to AJAX request, it'll send a warning email. 3. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-httpdump/ Generate a real traffic to your website by real users using through proxy. Record the traffic, and try it again for more real load testing. 4. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-no-reddit-at-worktime Will allow browsing to reddit.com between 8:00am and 17:00pm 5. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-jquery-version Will warn if multiple versions of jquery are used in the same domain. 6. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-upside-down-ternet/ Modifies image files in an HTTP response via goproxy's image extension found in ext/.

  • Homepage: https://github.com/elazarl/goproxy
  • Documentation: https://pkg.go.dev/gopkg.in/elazarl/goproxy.v1#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v1.0.0-20180725130230-947c36da3153 (published over 6 years ago)
  • Last Synced: 2024-11-08T03:31:06.999Z (2 days ago)
  • Versions: 1
  • Dependent Packages: 31
  • Dependent Repositories: 19
  • Docker Downloads: 36
  • Rankings:
    • Dependent packages count: 0.842%
    • Forks count: 0.863%
    • Stargazers count: 0.91%
    • Average: 1.089%
    • Dependent repos count: 1.257%
    • Docker downloads count: 1.574%
go: github.com/elazarl/goproxy/examples

  • Homepage: https://github.com/elazarl/goproxy
  • Documentation: https://pkg.go.dev/github.com/elazarl/goproxy/examples#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.0.0-20181003060214-f58a169a71a5 (published almost 2 years ago)
  • Last Synced: 2024-11-02T21:04:49.436Z (7 days ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 0.56%
    • Forks count: 0.567%
    • Dependent repos count: 1.622%
    • Average: 2.31%
    • Dependent packages count: 6.492%
go: gopkg.in/elazarl/goProxy.v1

Taken from $GOROOT/src/pkg/net/http/chunked needed to write https responses to client. Package goproxy provides a customizable HTTP proxy, supporting hijacking HTTPS connection. The intent of the proxy, is to be usable with reasonable amount of traffic yet, customizable and programable. The proxy itself is simply an `net/http` handler. Typical usage is Adding a header to each request For printing the content type of all incoming responses note that we used the ProxyCtx context variable here. It contains the request and the response (Req and Resp, Resp is nil if unavailable) of this specific client interaction with the proxy. To print the content type of all responses from a certain url, we'll add a ReqCondition to the OnResponse function: We can write the condition ourselves, conditions can be set on request and on response Caution! If you give a RespCondition to the OnRequest function, you'll get a run time panic! It doesn't make sense to read the response, if you still haven't got it! Finally, we have convenience function to throw a quick response we close the body of the original repsonse, and return a new 403 response with a short message. Example use cases: 1. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-avgsize To measure the average size of an Html served in your site. One can ask all the QA team to access the website by a proxy, and the proxy will measure the average size of all text/html responses from your host. 2. [not yet implemented] All requests to your web servers should be directed through the proxy, when the proxy will detect html pieces sent as a response to AJAX request, it'll send a warning email. 3. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-httpdump/ Generate a real traffic to your website by real users using through proxy. Record the traffic, and try it again for more real load testing. 4. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-no-reddit-at-worktime Will allow browsing to reddit.com between 8:00am and 17:00pm 5. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-jquery-version Will warn if multiple versions of jquery are used in the same domain. 6. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-upside-down-ternet/ Modifies image files in an HTTP response via goproxy's image extension found in ext/.

  • Homepage: https://github.com/elazarl/goProxy
  • Documentation: https://pkg.go.dev/gopkg.in/elazarl/goProxy.v1#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v1.0.0-20180725130230-947c36da3153 (published over 6 years ago)
  • Last Synced: 2024-11-09T00:09:26.963Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 0.576%
    • Forks count: 0.601%
    • Average: 4.38%
    • Dependent packages count: 6.999%
    • Dependent repos count: 9.346%
go: github.com/kofj/goproxy

Taken from $GOROOT/src/pkg/net/http/chunked needed to write https responses to client. Package goproxy provides a customizable HTTP proxy, supporting hijacking HTTPS connection. The intent of the proxy, is to be usable with reasonable amount of traffic yet, customizable and programmable. The proxy itself is simply an `net/http` handler. Typical usage is Adding a header to each request For printing the content type of all incoming responses note that we used the ProxyCtx context variable here. It contains the request and the response (Req and Resp, Resp is nil if unavailable) of this specific client interaction with the proxy. To print the content type of all responses from a certain url, we'll add a ReqCondition to the OnResponse function: We can write the condition ourselves, conditions can be set on request and on response Caution! If you give a RespCondition to the OnRequest function, you'll get a run time panic! It doesn't make sense to read the response, if you still haven't got it! Finally, we have convenience function to throw a quick response we close the body of the original response, and return a new 403 response with a short message. Example use cases: 1. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-avgsize To measure the average size of an Html served in your site. One can ask all the QA team to access the website by a proxy, and the proxy will measure the average size of all text/html responses from your host. 2. [not yet implemented] All requests to your web servers should be directed through the proxy, when the proxy will detect html pieces sent as a response to AJAX request, it'll send a warning email. 3. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-httpdump/ Generate a real traffic to your website by real users using through proxy. Record the traffic, and try it again for more real load testing. 4. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-no-reddit-at-worktime Will allow browsing to reddit.com between 8:00am and 17:00pm 5. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-jquery-version Will warn if multiple versions of jquery are used in the same domain. 6. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-upside-down-ternet/ Modifies image files in an HTTP response via goproxy's image extension found in ext/.

  • Homepage: https://github.com/elazarl/goproxy
  • Documentation: https://pkg.go.dev/github.com/kofj/goproxy#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: (published 9 months ago)
  • Last Synced: 2024-11-02T21:04:49.934Z (7 days ago)
  • Versions: 0
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 0.576%
    • Forks count: 0.601%
    • Average: 4.38%
    • Dependent packages count: 6.999%
    • Dependent repos count: 9.346%
go: github.com/windfgg/goproxy

Taken from $GOROOT/src/pkg/net/http/chunked needed to write https responses to client. Package goproxy provides a customizable HTTP proxy, supporting hijacking HTTPS connection. The intent of the proxy, is to be usable with reasonable amount of traffic yet, customizable and programmable. The proxy itself is simply an `net/http` handler. Typical usage is Adding a header to each request For printing the content type of all incoming responses note that we used the ProxyCtx context variable here. It contains the request and the response (Req and Resp, Resp is nil if unavailable) of this specific client interaction with the proxy. To print the content type of all responses from a certain url, we'll add a ReqCondition to the OnResponse function: We can write the condition ourselves, conditions can be set on request and on response Caution! If you give a RespCondition to the OnRequest function, you'll get a run time panic! It doesn't make sense to read the response, if you still haven't got it! Finally, we have convenience function to throw a quick response we close the body of the original response, and return a new 403 response with a short message. Example use cases: 1. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-avgsize To measure the average size of an Html served in your site. One can ask all the QA team to access the website by a proxy, and the proxy will measure the average size of all text/html responses from your host. 2. [not yet implemented] All requests to your web servers should be directed through the proxy, when the proxy will detect html pieces sent as a response to AJAX request, it'll send a warning email. 3. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-httpdump/ Generate a real traffic to your website by real users using through proxy. Record the traffic, and try it again for more real load testing. 4. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-no-reddit-at-worktime Will allow browsing to reddit.com between 8:00am and 17:00pm 5. https://github.com/elazarl/goproxy/tree/master/examples/goproxy-jquery-version Will warn if multiple versions of jquery are used in the same domain. 6. https://github.com/elazarl/goproxy/blob/master/examples/goproxy-upside-down-ternet/ Modifies image files in an HTTP response via goproxy's image extension found in ext/.

  • Homepage: https://github.com/elazarl/goproxy
  • Documentation: https://pkg.go.dev/github.com/windfgg/goproxy#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: (published 9 months ago)
  • Last Synced: 2024-11-09T00:09:27.495Z (1 day ago)
  • Versions: 0
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 0.814%
    • Stargazers count: 0.88%
    • Average: 5.516%
    • Dependent packages count: 9.571%
    • Dependent repos count: 10.798%
go: github.com/SpectoLabs/goproxy/examples


Dependencies

examples/go.mod go
  • github.com/elazarl/goproxy v0.0.0-20181111060418-2ce16c963a8a
  • github.com/inconshreveable/go-vhost v0.0.0-20160627193104-06d84117953b
examples/go.sum go
  • github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2
  • github.com/inconshreveable/go-vhost v0.0.0-20160627193104-06d84117953b
  • github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4
ext/go.mod go
  • github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4
ext/go.sum go
  • github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4
go.mod go
  • github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2
go.sum go
  • github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2
  • github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4
.github/workflows/go.yml actions
  • actions/checkout v2 composite
  • actions/setup-go v1 composite