{"id":22285671,"url":"https://github.com/igolaizola/h2-stream","last_synced_at":"2025-07-28T22:31:23.243Z","repository":{"id":57498065,"uuid":"143386574","full_name":"igolaizola/h2-stream","owner":"igolaizola","description":"HTTP2 client and server implementation in GO that holds a persistent data stream","archived":false,"fork":false,"pushed_at":"2023-03-04T05:08:45.000Z","size":1843,"stargazers_count":8,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T12:48:35.691Z","etag":null,"topics":["go","golang","http2","http2-client","http2-server"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igolaizola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-08-03T06:22:11.000Z","updated_at":"2022-02-10T18:49:37.000Z","dependencies_parsed_at":"2023-07-13T19:14:45.757Z","dependency_job_id":null,"html_url":"https://github.com/igolaizola/h2-stream","commit_stats":null,"previous_names":["igarciaolaizola/h2-stream"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fh2-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fh2-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fh2-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fh2-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igolaizola","download_url":"https://codeload.github.com/igolaizola/h2-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227961865,"owners_count":17847836,"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":["go","golang","http2","http2-client","http2-server"],"created_at":"2024-12-03T16:53:10.685Z","updated_at":"2024-12-03T16:53:11.568Z","avatar_url":"https://github.com/igolaizola.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub release](https://img.shields.io/github/release/igolaizola/h2-stream.svg)](https://github.com/igolaizola/h2-stream/releases)\n[![Build Status](https://travis-ci.com/igolaizola/h2-stream.svg?branch=master)](https://travis-ci.com/igolaizola/h2-stream)\n[![Go Report Card](https://goreportcard.com/badge/igolaizola/h2-stream)](http://goreportcard.com/report/igolaizola/h2-stream)\n[![license](https://img.shields.io/github/license/igolaizola/h2-stream.svg)](https://github.com/igolaizola/h2-stream/blob/master/LICENSE.md)\n\n# h2-stream\n\nHTTP2 client and server implementation in GO that holds a persistent data stream\n- Client takes data from standard input and forwards it to the server\n- Client forwards server responses to standard output\n- Server responds echoing the received data\n\nTLS and non TLS options are both available\n\n## Usage\n\n### without TLS\n\nlaunch server:\n```\ngo run cmd/h2-stream/main.go serve --addr=localhost:8080 --tls=false\n```\n\nlaunch client:\n```\ngo run cmd/h2-stream/main.go cli --addr=http://localhost:8080 --method=POST --data=\"BODY DATA\"\n```\n\n### with TLS\nlaunch server:\n```\ngo run cmd/h2-stream/main.go serve --addr=localhost:8080 --tls=true --cert=certs/cert.pem --key=certs/key.pem\n```\n\nlaunch client:\n```\ngo run cmd/h2-stream/main.go cli --addr=https://localhost:8080 --method=POST --data=\"BODY DATA\" --insecure\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figolaizola%2Fh2-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figolaizola%2Fh2-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figolaizola%2Fh2-stream/lists"}