mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:24:01 +03:00
FILE / ScuroNeko/mtg
client/client.go
Исходный файл и его история в репозитории.
15 lines
354 B
Go
15 lines
354 B
Go
package client
|
|
|
|
import (
|
|
"context"
|
|
"net"
|
|
|
|
"github.com/9seconds/mtg/config"
|
|
"github.com/9seconds/mtg/mtproto"
|
|
"github.com/9seconds/mtg/wrappers"
|
|
)
|
|
|
|
// Init defines common method for initializing client connections.
|
|
type Init func(context.Context, context.CancelFunc, net.Conn, string,
|
|
*config.Config) (wrappers.Wrap, *mtproto.ConnectionOpts, error)
|