FILE / ScuroNeko/mtg

_client/client.go

Исходный файл и его история в репозитории.
FILE d459efcf9cc12f3ae1902b4efe3fae71d6b8c225
Files
mtg/_client/client.go
T
2019-09-04 10:19:01 +03:00

16 lines
410 B
Go

package client
import (
"context"
"net"
"github.com/9seconds/mtg/antireplay"
"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,
antireplay.Cache, *config.Config) (wrappers.Wrap, *mtproto.ConnectionOpts, error)