modulepackage
0.0.0-20200924040117-4e20ca45c470
Repository: https://github.com/mysqto/hangups.git
Documentation: pkg.go.dev
# README
Go-Hangups
An (incomplete) go lang port of hangups. Currently only implements the REST API and not the BrowserChannel interface. Based on Tom Dryer's work on hangups python library. Library is still very new so use it at your own risk! Contributions are welcome!
Projects using go-hangups
- Slangouts: Slack/Hangouts bridge
Development Notes
Below are useful notes for developing/debugging.
# Compile ProtoBuf
$protoc --go_out=. proto/*.proto
# Debug ProtoBuf
$protoc --decode_raw < proto.bin
# Functions
GetAuthHeaders returns authentication header.
# Structs
Client is a hangouts client.
Photo contains information of image upload for message sending.
Session represent a hangouts session.
UploadFile contains information of image before and after image Upload.