Directories
¶
| Path | Synopsis |
|---|---|
|
Package bin implements binary serialization and deserialization for TL, providing Buffer that can decode and encode basic Type Language types.
|
Package bin implements binary serialization and deserialization for TL, providing Buffer that can decode and encode basic Type Language types. |
|
cmd
|
|
|
dltl
command
Binary dltl fetches .tl schema from remote repo.
|
Binary dltl fetches .tl schema from remote repo. |
|
gotdchats
command
Binary gotdchats implements chat list request example using testing server.
|
Binary gotdchats implements chat list request example using testing server. |
|
gotdecho
command
Binary gotdecho provides example of Telegram echo bot.
|
Binary gotdecho provides example of Telegram echo bot. |
|
gotdgen
command
Binary gotdgen generates go source code from TL schema.
|
Binary gotdgen generates go source code from TL schema. |
|
mtprint
command
Binary mtprint pretty-prints MTProto message from binary file.
|
Binary mtprint pretty-prints MTProto message from binary file. |
|
examples
module
|
|
|
bg-run
module
|
|
|
gif-download
module
|
|
|
Package internal contains unexported implementation details of Telegram client.
|
Package internal contains unexported implementation details of Telegram client. |
|
crypto
Package crypto implements cryptographical primitives for MTproto.
|
Package crypto implements cryptographical primitives for MTproto. |
|
crypto/srp
Package srp contains implementation of Secure Remote Password protocol.
|
Package srp contains implementation of Secure Remote Password protocol. |
|
gen
Package gen implements code generation from TL schema.
|
Package gen implements code generation from TL schema. |
|
gen/example
Package td contains generated code from example schema and is used for codegen testing.
|
Package td contains generated code from example schema and is used for codegen testing. |
|
gen/internal
Code generated for package internal by go-bindata DO NOT EDIT.
|
Code generated for package internal by go-bindata DO NOT EDIT. |
|
mt
Package mt contains generated code based on mtproto schema.
|
Package mt contains generated code based on mtproto schema. |
|
proto
Package proto implements MTProto 2.0 primitives.
|
Package proto implements MTProto 2.0 primitives. |
|
proto/codec
Package codec contains MTProto transport encoding implementations.
|
Package codec contains MTProto transport encoding implementations. |
|
testutil
Package testutil wraps helpers for testing.
|
Package testutil wraps helpers for testing. |
|
tmap
Package tmap provides type mapping facility that maps type id to type name.
|
Package tmap provides type mapping facility that maps type id to type name. |
|
Package telegram implements Telegram client.
|
Package telegram implements Telegram client. |
|
internal
Code generated for package internal by go-bindata DO NOT EDIT.
|
Code generated for package internal by go-bindata DO NOT EDIT. |
|
internal/e2etest
Package e2etest contains some helpers to make external E2E tests using Telegram staging server.
|
Package e2etest contains some helpers to make external E2E tests using Telegram staging server. |
|
internal/exchange
Package exchange contains Telegram key exchange algorithm flows.
|
Package exchange contains Telegram key exchange algorithm flows. |
|
internal/rpc
Package rpc implements rpc engine.
|
Package rpc implements rpc engine. |
|
internal/tgtest
Package tgtest provides test Telegram server for end-to-end test.
|
Package tgtest provides test Telegram server for end-to-end test. |
|
Package tg contains generated types from MTProto Telegram API.
|
Package tg contains generated types from MTProto Telegram API. |
|
Package transport contains different MTProto transport implementations.
|
Package transport contains different MTProto transport implementations. |
Click to show internal directories.
Click to hide internal directories.