github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/protocol/weight.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package protocol 4 5 // Weight indicate connection and stream weight 6 type Weight uint8 7 8 // Standrad Weights 9 const ( 10 Weight_Unset Weight = iota 11 Weight_LowestPriority 12 Weight_LowerPriority 13 Weight_LowPriority 14 Weight_Normal 15 // TODO::: add more queue for priority weights 16 Weight_TimeSensitive Weight = 255 // Call related service in each received packet. VoIP, IPTV, Sensors data, ... 17 )