Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MikrotikDuration ¶
type MikrotikDuration int
MikrotikDuration type represents a RouterOS durations [w,d] in seconds
func (MikrotikDuration) MarshalMikrotik ¶
func (m MikrotikDuration) MarshalMikrotik() string
func (*MikrotikDuration) UnmarshalMikrotik ¶
func (m *MikrotikDuration) UnmarshalMikrotik(value string) error
type MikrotikIntList ¶
type MikrotikIntList []int
MikrotikIntList type translates slice of ints to comma separated list and back
func (MikrotikIntList) MarshalMikrotik ¶
func (m MikrotikIntList) MarshalMikrotik() string
func (*MikrotikIntList) UnmarshalMikrotik ¶
func (m *MikrotikIntList) UnmarshalMikrotik(value string) error
type MikrotikList ¶
type MikrotikList []string
MikrotikList type translates slice of strings to comma separated list and back
It is useful to seamless serialize/deserialize data during communication with RouterOS
func (MikrotikList) MarshalMikrotik ¶
func (m MikrotikList) MarshalMikrotik() string
func (*MikrotikList) UnmarshalMikrotik ¶
func (m *MikrotikList) UnmarshalMikrotik(value string) error
Click to show internal directories.
Click to hide internal directories.