Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram.
If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
| 12345678910111213141516171819202122232425 |
- package mtglib
-
- import (
- "net"
- "time"
- )
-
- type eventBase struct {
- CreatedAt time.Time
- ConnID string
- }
-
- func (e eventBase) ConnectionID() string {
- return e.ConnID
- }
-
- type EventStart struct {
- eventBase
-
- RemoteIP net.IP
- }
-
- type EventFinish struct {
- eventBase
- }
|