{"repo":"samber/go-metered-io","free":true,"listed":false,"github":"https://github.com/samber/go-metered-io","clone":"git clone https://github.com/samber/go-metered-io.git","description":"📐 A drop-in replacement to io.Reader and io.Writer with the total number of bytes transfered.","language":"Go","stars":27,"topics":["buffer","bytes","go","io","measure","metric","monitoring","reader","rune","stream"],"license":"MIT","category":"analytics","readme_excerpt":"Metered io.Reader and io.Writer A drop-in replacement to io.Reader and io.Writer from the standard library with the total number of bytes transferred. 🚀 Install This library is v1 and follows SemVer strictly. No breaking changes will be made to exported APIs before v2.0.0. 💡 Spec GoDoc: https://pkg.go.dev/github.com/samber/go-metered-io Byte: - metered.NewReader - metered.NewWriter - metered.NewReadCloser - metered.NewWriteCloser - metered.NewReadWriter String: - metered.NewStringWriter Rune: - metered.NewRuneReader Examples Metered reader Metered writer 🤝 Contributing - Ping me on twitter @samuelberthe (DMs, mentions, whatever :)) - Fork the project - Fix open issues or request new features Don't hesitate ;) 👤 Contributors 💫 Show your support Give a ⭐️ if this project helped you! 📝 License Copyright © 2023 Samuel Berthe. This project is MIT licensed.","default_branch":null,"files":null,"tree":[],"storefront":"/r/samber","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/samber/go-metered-io/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}