whip-go is a simple WHIP (https://datatracker.ietf.org/doc/draft-ietf-wish-whip/) client implementation in go using the WebRTC Pion libraries. It includes a WHIPClient class and a simple command line client supporrting screensharing to a WHIP ingestion endpoint.
It has been tested with janus-gateway with whip-simple-server.
go build
./whip-go WHIP_ENDPOINT_URL TOKEN