mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 03:24:01 +03:00
Some refactorings for telegram package
This commit is contained in:
@@ -4,15 +4,12 @@ import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"github.com/9seconds/mtg/conntypes"
|
||||
"github.com/9seconds/mtg/utils"
|
||||
"github.com/9seconds/mtg/wrappers"
|
||||
)
|
||||
|
||||
const telegramDialTimeout = 10 * time.Second
|
||||
|
||||
type baseTelegram struct {
|
||||
dialer net.Dialer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user