package
Version:
v0.0.0-...-c2f74b2
Opens a new window with list of versions in this module.
Published: Jul 20, 2016
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Pair struct {
Key, Value string
}
Reader reads RouterOS tokens from another reader.
NewReader returns a new Reader to read from r.
Sentence is a line read from a RouterOS device.
Writer writes words to a RouterOS device.
NewWriter returns a new Writer to write to w.
func (w *Writer) BeginSentence()
BeginSentence simply calls Lock().
EndSentence writes an empty word and calls Unlock(). It returns Err().
Err returns the last error that occurred on this Writer.
WriteWord writes one RouterOS word.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.