Documentation ¶
Index ¶
Constants ¶
View Source
const ( DIRECTION_INGRESS = "ingress" DIRECTION_EGRESS = "egress" )
Variables ¶
View Source
var BANDWIDTH_REGEXP *regexp.Regexp
Functions ¶
func Addrule ¶
func Addrule(rule *types.TrafficShappingRule, tc TC)
func Delrule ¶
func Delrule(rule *types.TrafficShappingRule, tc TC)
func GenerateRuleID ¶
Types ¶
type NullTC ¶
type NullTC struct { }
func (*NullTC) DeleteRule ¶
func (n *NullTC) DeleteRule(rule *types.TrafficShappingRule) error
type System ¶
func (*System) DeleteRule ¶
func (s *System) DeleteRule(rule *types.TrafficShappingRule) error
Click to show internal directories.
Click to hide internal directories.