FILE / ScuroNeko/mtg

client/client.go

Исходный файл и его история в репозитории.
FILE a3933e6ede78eb40ea347b699b7a7637d7bca18d
Files
mtg/client/client.go
T
2018-07-06 17:29:24 +03:00

13 lines
324 B
Go

package client
import (
"net"
"github.com/9seconds/mtg/config"
"github.com/9seconds/mtg/mtproto"
"github.com/9seconds/mtg/wrappers"
)
// Init has to initialize client connection based on given config.
type Init func(net.Conn, string, *config.Config) (wrappers.ReadWriteCloserWithAddr, *mtproto.ConnectionOpts, error)