mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 22:54:01 +03:00
FILE / ScuroNeko/mtg
client/client.go
Исходный файл и его история в репозитории.
13 lines
272 B
Go
13 lines
272 B
Go
package client
|
|
|
|
import (
|
|
"io"
|
|
"net"
|
|
|
|
"github.com/9seconds/mtg/config"
|
|
"github.com/9seconds/mtg/mtproto"
|
|
)
|
|
|
|
// Init has to initialize client connection based on given config.
|
|
type Init func(net.Conn, *config.Config) (*mtproto.ConnectionOpts, io.ReadWriteCloser, error)
|