FILE / ScuroNeko/mtg

client/client.go

Исходный файл и его история в репозитории.
FILE 88faeb7195354cf7c64c5bfd452b08b1e7ce7a8d
Files
mtg/client/client.go
T

13 lines
316 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, *config.Config) (wrappers.ReadWriteCloserWithAddr, *mtproto.ConnectionOpts, error)