go-routeros / routeros

Go library for accessing Mikrotik devices using the RouterOS API
MIT License
189 stars 47 forks source link

DialTLS with timeout #17

Closed migotom closed 18 hours ago

migotom commented 3 years ago

I'm using it in my project but maybe could be helpful for wider community, modified dialer with timeout parameter.

DialTLS(address, username, password string, tlsConfig *tls.Config, timeout time.Duration)
ahdyt commented 6 months ago

LGTM

archaron commented 18 hours ago

Implemented through context in 3.0.0, thank you!