Documentation
¶
Overview ¶
mtg is just a command-line application that starts a proxy.
Application logic is how to read a config and configure mtglib.Proxy. So, probably you need to read the documentation for mtglib package first.
mtglib is a core of the application. The rest of the packages provide some default implementations for the interfaces, defined in mtglib.
Directories
¶
| Path | Synopsis |
|---|---|
|
Antireplay package has cache implementations that are effective against replay attacks.
|
Antireplay package has cache implementations that are effective against replay attacks. |
|
This is a minimal package that contains _essentials_ of mtglib and its complimentary packages.
|
This is a minimal package that contains _essentials_ of mtglib and its complimentary packages. |
|
Events has a default implementations of EventStream for mtglib.
|
Events has a default implementations of EventStream for mtglib. |
|
internal
|
|
|
Package logger has implementation of loggers for mtglib.Logger interface.
|
Package logger has implementation of loggers for mtglib.Logger interface. |
|
mtglib defines a package with MTPROTO proxy.
|
mtglib defines a package with MTPROTO proxy. |
|
Network contains a default implementation of the network.
|
Network contains a default implementation of the network. |
Click to show internal directories.
Click to hide internal directories.