Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
Sesion is a basic data of specific session. Typically, session stores default hostname of mtproto server (cause all accounts ties to specific server after sign in), session key, server hash and salt.
type SessionLoader ¶
SessionLoader is the interface which allows you to access sessions from different storages (like filesystem, database, s3 storage, etc.)
func NewFromFile ¶
func NewFromFile(path string) SessionLoader
Click to show internal directories.
Click to hide internal directories.