# README
RouterOS Client for the Go language
Go library for accessing Mikrotik devices using the RouterOS API.
Look in the examples directory to learn how to use this library: run, listen, tab.
API documentation is available at pkg.go.dev.
Page on the Mikrotik Wiki.
Usage of gopkg.in
was removed in favor of Go modules. Please, update you import paths to
github.com/go-routeros/routeros/v3
.
Current version: v3 and newest,
To install it, run:
go get github.com/go-routeros/routeros/v3
# Functions
Dial connects and logs in to a RouterOS device.
DialContext connects and logs in to a RouterOS device using context.
DialTimeout connects and logs in to a RouterOS device with timeout.
DialTLS connects and logs in to a RouterOS device using TLS.
DialTLSContext connects and logs in to a RouterOS device using TLS and context.
DialTLSTimeout connects and logs in to a RouterOS device using TLS with timeout.
NewClient returns a new Client over rwc.
# Variables
No description provided by the author
No description provided by the author
# Structs
Client is a RouterOS API client.
DeviceError records the sentence containing the error received from the device.
ListenReply is the struct returned by the Listen*() functions.
Reply has all the sentences from a reply.
UnknownReplyError records the sentence whose Word is unknown.
# Type aliases
No description provided by the author