{"id":24499927,"url":"https://github.com/luillyfe/reverse-proxy","last_synced_at":"2025-03-15T07:20:58.499Z","repository":{"id":198193993,"uuid":"700294768","full_name":"luillyfe/reverse-proxy","owner":"luillyfe","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-05T23:23:00.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T22:16:19.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luillyfe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-04T10:20:05.000Z","updated_at":"2023-10-04T10:20:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"c89a89fe-b91e-4b5f-a28d-7e0ab62e2edf","html_url":"https://github.com/luillyfe/reverse-proxy","commit_stats":null,"previous_names":["luillyfe/reverse-proxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luillyfe%2Freverse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luillyfe%2Freverse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luillyfe%2Freverse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luillyfe%2Freverse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luillyfe","download_url":"https://codeload.github.com/luillyfe/reverse-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243696705,"owners_count":20332823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-21T22:16:23.989Z","updated_at":"2025-03-15T07:20:58.476Z","avatar_url":"https://github.com/luillyfe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reverse Proxy\n\nGo is a statically typed, compiled programming language design by Rob Pike, Robert Griesemer and Ken Thompson. It is syntactically similar to C, but also has memory safety, garbage collection, structural typing and CSP-style concurrency.\n\nGo is used to build a variety of software, but we'll use it here for:\n\n- Networking software\n\nGo is also know for its simplicity, efficiency and scalability. A reverse proxy has many applications (uses) we just start by implementing a load balancer.\n\n## Features\n\n- Load balancing\n\n## Installation\n\nTo install the **reverse-proxy**, you will need to have Go installed. You can then install the dependencies by running the following command:\n\n`go get .`\n\n## Documentation\n\nFor more documentation, please see the following:\n\n- [README file](README.md)\n\n## Examples\n\nThe folder **examples** contains three one file servers that could be use to test the capabilities of load balancing of the reverse-proxy. They are leave with the main package to easy its use.\n\n```go\n// Collecting a list of backend servers.\nendpoints := []string{\n    // By not specifying an IP address before the colon, the server will listen\n    // on every IP address associated with your computer\n    \":8081\",\n    \":8082\",\n    \":8083\",\n}\n\n// Create a Load Balancer\nloadBalancer := \u0026http.ReverseProxy{\n    BackendService: http.BackendService{Backend: endpoints},\n}\n\n// Run the Load Balancer\nloadBalancer.Run()\n```\n\n## Contributing\n\nIf you would like to contribute to the library, please fork the repository and submit a pull request.\n\n## License\n\nThe library is licensed under the MIT License.\n\n```\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluillyfe%2Freverse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluillyfe%2Freverse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluillyfe%2Freverse-proxy/lists"}