Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abserari/telegraph
Add proxy with a fork of toy3d/telegraph
https://github.com/abserari/telegraph
Last synced: 1 day ago
JSON representation
Add proxy with a fork of toy3d/telegraph
- Host: GitHub
- URL: https://github.com/abserari/telegraph
- Owner: abserari
- License: mit
- Created: 2021-01-08T06:22:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-08T07:15:21.000Z (about 4 years ago)
- Last Synced: 2024-11-24T17:13:32.090Z (about 2 months ago)
- Language: Go
- Size: 159 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
**Notice** This is just a fork for myself to add proxy from enviorment. The all code is from https://gitlab.com/toby3d/telegraph
# GoLang bindings for the Telegraph API [![discord](https://discordapp.com/api/guilds/208605007744860163/widget.png)](https://discord.gg/QJ8z5BN)
> This project is just to provide a wrapper around the API without any additional features.All methods and types available and this library (possibly) is ready for use in production. Yaay!
## Start using telegraph
Download and install it:
`$ go get -u gitlab.com/toby3d/telegraph`Import it in your code:
`import "gitlab.com/toby3d/telegraph"`Use Proxy
`telegraph.SetSocksDialer("localhost:7890")`
`telegraph.SetHttpDialer("username:password@localhost:9050")`## Examples
See [GoDoc examples section](https://godoc.org/gitlab.com/toby3d/telegraph#pkg-examples) or check [example_test.go](/example_test.go).## Need help?
- [Open new issue](https://gitlab.com/toby3d/telegraph/issues/new)
- [Discuss in Discord](https://discord.gg/QJ8z5BN)