Documentation ¶
Index ¶
- Constants
- Variables
- func AcctAuthentic_Add(p *radius.Packet, value AcctAuthentic) (err error)
- func AcctAuthentic_Del(p *radius.Packet)
- func AcctAuthentic_Set(p *radius.Packet, value AcctAuthentic) (err error)
- func AcctDelayTime_Add(p *radius.Packet, value AcctDelayTime) (err error)
- func AcctDelayTime_Del(p *radius.Packet)
- func AcctDelayTime_Set(p *radius.Packet, value AcctDelayTime) (err error)
- func AcctInputOctets_Add(p *radius.Packet, value AcctInputOctets) (err error)
- func AcctInputOctets_Del(p *radius.Packet)
- func AcctInputOctets_Set(p *radius.Packet, value AcctInputOctets) (err error)
- func AcctInputPackets_Add(p *radius.Packet, value AcctInputPackets) (err error)
- func AcctInputPackets_Del(p *radius.Packet)
- func AcctInputPackets_Set(p *radius.Packet, value AcctInputPackets) (err error)
- func AcctLinkCount_Add(p *radius.Packet, value AcctLinkCount) (err error)
- func AcctLinkCount_Del(p *radius.Packet)
- func AcctLinkCount_Set(p *radius.Packet, value AcctLinkCount) (err error)
- func AcctMultiSessionID_Add(p *radius.Packet, value []byte) (err error)
- func AcctMultiSessionID_AddString(p *radius.Packet, value string) (err error)
- func AcctMultiSessionID_Del(p *radius.Packet)
- func AcctMultiSessionID_Get(p *radius.Packet) (value []byte)
- func AcctMultiSessionID_GetString(p *radius.Packet) (value string)
- func AcctMultiSessionID_GetStrings(p *radius.Packet) (values []string, err error)
- func AcctMultiSessionID_Gets(p *radius.Packet) (values [][]byte, err error)
- func AcctMultiSessionID_Lookup(p *radius.Packet) (value []byte, err error)
- func AcctMultiSessionID_LookupString(p *radius.Packet) (value string, err error)
- func AcctMultiSessionID_Set(p *radius.Packet, value []byte) (err error)
- func AcctMultiSessionID_SetString(p *radius.Packet, value string) (err error)
- func AcctOutputOctets_Add(p *radius.Packet, value AcctOutputOctets) (err error)
- func AcctOutputOctets_Del(p *radius.Packet)
- func AcctOutputOctets_Set(p *radius.Packet, value AcctOutputOctets) (err error)
- func AcctOutputPackets_Add(p *radius.Packet, value AcctOutputPackets) (err error)
- func AcctOutputPackets_Del(p *radius.Packet)
- func AcctOutputPackets_Set(p *radius.Packet, value AcctOutputPackets) (err error)
- func AcctSessionID_Add(p *radius.Packet, value []byte) (err error)
- func AcctSessionID_AddString(p *radius.Packet, value string) (err error)
- func AcctSessionID_Del(p *radius.Packet)
- func AcctSessionID_Get(p *radius.Packet) (value []byte)
- func AcctSessionID_GetString(p *radius.Packet) (value string)
- func AcctSessionID_GetStrings(p *radius.Packet) (values []string, err error)
- func AcctSessionID_Gets(p *radius.Packet) (values [][]byte, err error)
- func AcctSessionID_Lookup(p *radius.Packet) (value []byte, err error)
- func AcctSessionID_LookupString(p *radius.Packet) (value string, err error)
- func AcctSessionID_Set(p *radius.Packet, value []byte) (err error)
- func AcctSessionID_SetString(p *radius.Packet, value string) (err error)
- func AcctSessionTime_Add(p *radius.Packet, value AcctSessionTime) (err error)
- func AcctSessionTime_Del(p *radius.Packet)
- func AcctSessionTime_Set(p *radius.Packet, value AcctSessionTime) (err error)
- func AcctStatusType_Add(p *radius.Packet, value AcctStatusType) (err error)
- func AcctStatusType_Del(p *radius.Packet)
- func AcctStatusType_Set(p *radius.Packet, value AcctStatusType) (err error)
- func AcctTerminateCause_Add(p *radius.Packet, value AcctTerminateCause) (err error)
- func AcctTerminateCause_Del(p *radius.Packet)
- func AcctTerminateCause_Set(p *radius.Packet, value AcctTerminateCause) (err error)
- type AcctAuthentic
- type AcctDelayTime
- type AcctInputOctets
- type AcctInputPackets
- type AcctLinkCount
- type AcctOutputOctets
- type AcctOutputPackets
- type AcctSessionTime
- type AcctStatusType
- type AcctTerminateCause
Constants ¶
View Source
const ( AcctStatusType_Type radius.Type = 40 AcctDelayTime_Type radius.Type = 41 AcctInputOctets_Type radius.Type = 42 AcctOutputOctets_Type radius.Type = 43 AcctSessionID_Type radius.Type = 44 AcctAuthentic_Type radius.Type = 45 AcctSessionTime_Type radius.Type = 46 AcctInputPackets_Type radius.Type = 47 AcctOutputPackets_Type radius.Type = 48 AcctTerminateCause_Type radius.Type = 49 AcctMultiSessionID_Type radius.Type = 50 AcctLinkCount_Type radius.Type = 51 )
Variables ¶
View Source
var AcctAuthentic_Strings = map[AcctAuthentic]string{ AcctAuthentic_Value_RADIUS: "RADIUS", AcctAuthentic_Value_Local: "Local", AcctAuthentic_Value_Remote: "Remote", AcctAuthentic_Value_Diameter: "Diameter", }
View Source
var AcctDelayTime_Strings = map[AcctDelayTime]string{}
View Source
var AcctInputOctets_Strings = map[AcctInputOctets]string{}
View Source
var AcctInputPackets_Strings = map[AcctInputPackets]string{}
View Source
var AcctLinkCount_Strings = map[AcctLinkCount]string{}
View Source
var AcctOutputOctets_Strings = map[AcctOutputOctets]string{}
View Source
var AcctOutputPackets_Strings = map[AcctOutputPackets]string{}
View Source
var AcctSessionTime_Strings = map[AcctSessionTime]string{}
View Source
var AcctStatusType_Strings = map[AcctStatusType]string{ AcctStatusType_Value_Start: "Start", AcctStatusType_Value_Stop: "Stop", AcctStatusType_Value_InterimUpdate: "Interim-Update", AcctStatusType_Value_AccountingOn: "Accounting-On", AcctStatusType_Value_AccountingOff: "Accounting-Off", AcctStatusType_Value_Failed: "Failed", }
View Source
var AcctTerminateCause_Strings = map[AcctTerminateCause]string{ AcctTerminateCause_Value_UserRequest: "User-Request", AcctTerminateCause_Value_LostCarrier: "Lost-Carrier", AcctTerminateCause_Value_LostService: "Lost-Service", AcctTerminateCause_Value_IdleTimeout: "Idle-Timeout", AcctTerminateCause_Value_SessionTimeout: "Session-Timeout", AcctTerminateCause_Value_AdminReset: "Admin-Reset", AcctTerminateCause_Value_AdminReboot: "Admin-Reboot", AcctTerminateCause_Value_PortError: "Port-Error", AcctTerminateCause_Value_NASError: "NAS-Error", AcctTerminateCause_Value_NASRequest: "NAS-Request", AcctTerminateCause_Value_NASReboot: "NAS-Reboot", AcctTerminateCause_Value_PortUnneeded: "Port-Unneeded", AcctTerminateCause_Value_PortPreempted: "Port-Preempted", AcctTerminateCause_Value_PortSuspended: "Port-Suspended", AcctTerminateCause_Value_ServiceUnavailable: "Service-Unavailable", AcctTerminateCause_Value_Callback: "Callback", AcctTerminateCause_Value_UserError: "User-Error", AcctTerminateCause_Value_HostRequest: "Host-Request", }
Functions ¶
func AcctAuthentic_Add ¶
func AcctAuthentic_Add(p *radius.Packet, value AcctAuthentic) (err error)
func AcctAuthentic_Del ¶
func AcctAuthentic_Set ¶
func AcctAuthentic_Set(p *radius.Packet, value AcctAuthentic) (err error)
func AcctDelayTime_Add ¶
func AcctDelayTime_Add(p *radius.Packet, value AcctDelayTime) (err error)
func AcctDelayTime_Del ¶
func AcctDelayTime_Set ¶
func AcctDelayTime_Set(p *radius.Packet, value AcctDelayTime) (err error)
func AcctInputOctets_Add ¶
func AcctInputOctets_Add(p *radius.Packet, value AcctInputOctets) (err error)
func AcctInputOctets_Del ¶
func AcctInputOctets_Set ¶
func AcctInputOctets_Set(p *radius.Packet, value AcctInputOctets) (err error)
func AcctInputPackets_Add ¶
func AcctInputPackets_Add(p *radius.Packet, value AcctInputPackets) (err error)
func AcctInputPackets_Del ¶
func AcctInputPackets_Set ¶
func AcctInputPackets_Set(p *radius.Packet, value AcctInputPackets) (err error)
func AcctLinkCount_Add ¶
func AcctLinkCount_Add(p *radius.Packet, value AcctLinkCount) (err error)
func AcctLinkCount_Del ¶
func AcctLinkCount_Set ¶
func AcctLinkCount_Set(p *radius.Packet, value AcctLinkCount) (err error)
func AcctMultiSessionID_Add ¶
func AcctMultiSessionID_Del ¶
func AcctMultiSessionID_Get ¶
func AcctMultiSessionID_Gets ¶
func AcctMultiSessionID_Set ¶
func AcctOutputOctets_Add ¶
func AcctOutputOctets_Add(p *radius.Packet, value AcctOutputOctets) (err error)
func AcctOutputOctets_Del ¶
func AcctOutputOctets_Set ¶
func AcctOutputOctets_Set(p *radius.Packet, value AcctOutputOctets) (err error)
func AcctOutputPackets_Add ¶
func AcctOutputPackets_Add(p *radius.Packet, value AcctOutputPackets) (err error)
func AcctOutputPackets_Del ¶
func AcctOutputPackets_Set ¶
func AcctOutputPackets_Set(p *radius.Packet, value AcctOutputPackets) (err error)
func AcctSessionID_AddString ¶
func AcctSessionID_Del ¶
func AcctSessionID_Get ¶
func AcctSessionID_GetString ¶
func AcctSessionID_SetString ¶
func AcctSessionTime_Add ¶
func AcctSessionTime_Add(p *radius.Packet, value AcctSessionTime) (err error)
func AcctSessionTime_Del ¶
func AcctSessionTime_Set ¶
func AcctSessionTime_Set(p *radius.Packet, value AcctSessionTime) (err error)
func AcctStatusType_Add ¶
func AcctStatusType_Add(p *radius.Packet, value AcctStatusType) (err error)
func AcctStatusType_Del ¶
func AcctStatusType_Set ¶
func AcctStatusType_Set(p *radius.Packet, value AcctStatusType) (err error)
func AcctTerminateCause_Add ¶
func AcctTerminateCause_Add(p *radius.Packet, value AcctTerminateCause) (err error)
func AcctTerminateCause_Del ¶
func AcctTerminateCause_Set ¶
func AcctTerminateCause_Set(p *radius.Packet, value AcctTerminateCause) (err error)
Types ¶
type AcctAuthentic ¶
type AcctAuthentic uint32
const ( AcctAuthentic_Value_RADIUS AcctAuthentic = 1 AcctAuthentic_Value_Local AcctAuthentic = 2 AcctAuthentic_Value_Remote AcctAuthentic = 3 AcctAuthentic_Value_Diameter AcctAuthentic = 4 )
func AcctAuthentic_Get ¶
func AcctAuthentic_Get(p *radius.Packet) (value AcctAuthentic)
func AcctAuthentic_Gets ¶
func AcctAuthentic_Gets(p *radius.Packet) (values []AcctAuthentic, err error)
func AcctAuthentic_Lookup ¶
func AcctAuthentic_Lookup(p *radius.Packet) (value AcctAuthentic, err error)
func (AcctAuthentic) String ¶
func (a AcctAuthentic) String() string
type AcctDelayTime ¶
type AcctDelayTime uint32
func AcctDelayTime_Get ¶
func AcctDelayTime_Get(p *radius.Packet) (value AcctDelayTime)
func AcctDelayTime_Gets ¶
func AcctDelayTime_Gets(p *radius.Packet) (values []AcctDelayTime, err error)
func AcctDelayTime_Lookup ¶
func AcctDelayTime_Lookup(p *radius.Packet) (value AcctDelayTime, err error)
func (AcctDelayTime) String ¶
func (a AcctDelayTime) String() string
type AcctInputOctets ¶
type AcctInputOctets uint32
func AcctInputOctets_Get ¶
func AcctInputOctets_Get(p *radius.Packet) (value AcctInputOctets)
func AcctInputOctets_Gets ¶
func AcctInputOctets_Gets(p *radius.Packet) (values []AcctInputOctets, err error)
func AcctInputOctets_Lookup ¶
func AcctInputOctets_Lookup(p *radius.Packet) (value AcctInputOctets, err error)
func (AcctInputOctets) String ¶
func (a AcctInputOctets) String() string
type AcctInputPackets ¶
type AcctInputPackets uint32
func AcctInputPackets_Get ¶
func AcctInputPackets_Get(p *radius.Packet) (value AcctInputPackets)
func AcctInputPackets_Gets ¶
func AcctInputPackets_Gets(p *radius.Packet) (values []AcctInputPackets, err error)
func AcctInputPackets_Lookup ¶
func AcctInputPackets_Lookup(p *radius.Packet) (value AcctInputPackets, err error)
func (AcctInputPackets) String ¶
func (a AcctInputPackets) String() string
type AcctLinkCount ¶
type AcctLinkCount uint32
func AcctLinkCount_Get ¶
func AcctLinkCount_Get(p *radius.Packet) (value AcctLinkCount)
func AcctLinkCount_Gets ¶
func AcctLinkCount_Gets(p *radius.Packet) (values []AcctLinkCount, err error)
func AcctLinkCount_Lookup ¶
func AcctLinkCount_Lookup(p *radius.Packet) (value AcctLinkCount, err error)
func (AcctLinkCount) String ¶
func (a AcctLinkCount) String() string
type AcctOutputOctets ¶
type AcctOutputOctets uint32
func AcctOutputOctets_Get ¶
func AcctOutputOctets_Get(p *radius.Packet) (value AcctOutputOctets)
func AcctOutputOctets_Gets ¶
func AcctOutputOctets_Gets(p *radius.Packet) (values []AcctOutputOctets, err error)
func AcctOutputOctets_Lookup ¶
func AcctOutputOctets_Lookup(p *radius.Packet) (value AcctOutputOctets, err error)
func (AcctOutputOctets) String ¶
func (a AcctOutputOctets) String() string
type AcctOutputPackets ¶
type AcctOutputPackets uint32
func AcctOutputPackets_Get ¶
func AcctOutputPackets_Get(p *radius.Packet) (value AcctOutputPackets)
func AcctOutputPackets_Gets ¶
func AcctOutputPackets_Gets(p *radius.Packet) (values []AcctOutputPackets, err error)
func AcctOutputPackets_Lookup ¶
func AcctOutputPackets_Lookup(p *radius.Packet) (value AcctOutputPackets, err error)
func (AcctOutputPackets) String ¶
func (a AcctOutputPackets) String() string
type AcctSessionTime ¶
type AcctSessionTime uint32
func AcctSessionTime_Get ¶
func AcctSessionTime_Get(p *radius.Packet) (value AcctSessionTime)
func AcctSessionTime_Gets ¶
func AcctSessionTime_Gets(p *radius.Packet) (values []AcctSessionTime, err error)
func AcctSessionTime_Lookup ¶
func AcctSessionTime_Lookup(p *radius.Packet) (value AcctSessionTime, err error)
func (AcctSessionTime) String ¶
func (a AcctSessionTime) String() string
type AcctStatusType ¶
type AcctStatusType uint32
const ( AcctStatusType_Value_Start AcctStatusType = 1 AcctStatusType_Value_Stop AcctStatusType = 2 AcctStatusType_Value_InterimUpdate AcctStatusType = 3 AcctStatusType_Value_AccountingOn AcctStatusType = 7 AcctStatusType_Value_AccountingOff AcctStatusType = 8 AcctStatusType_Value_Failed AcctStatusType = 15 )
func AcctStatusType_Get ¶
func AcctStatusType_Get(p *radius.Packet) (value AcctStatusType)
func AcctStatusType_Gets ¶
func AcctStatusType_Gets(p *radius.Packet) (values []AcctStatusType, err error)
func AcctStatusType_Lookup ¶
func AcctStatusType_Lookup(p *radius.Packet) (value AcctStatusType, err error)
func (AcctStatusType) String ¶
func (a AcctStatusType) String() string
type AcctTerminateCause ¶
type AcctTerminateCause uint32
const ( AcctTerminateCause_Value_UserRequest AcctTerminateCause = 1 AcctTerminateCause_Value_LostCarrier AcctTerminateCause = 2 AcctTerminateCause_Value_LostService AcctTerminateCause = 3 AcctTerminateCause_Value_IdleTimeout AcctTerminateCause = 4 AcctTerminateCause_Value_SessionTimeout AcctTerminateCause = 5 AcctTerminateCause_Value_AdminReset AcctTerminateCause = 6 AcctTerminateCause_Value_AdminReboot AcctTerminateCause = 7 AcctTerminateCause_Value_PortError AcctTerminateCause = 8 AcctTerminateCause_Value_NASError AcctTerminateCause = 9 AcctTerminateCause_Value_NASRequest AcctTerminateCause = 10 AcctTerminateCause_Value_NASReboot AcctTerminateCause = 11 AcctTerminateCause_Value_PortUnneeded AcctTerminateCause = 12 AcctTerminateCause_Value_PortPreempted AcctTerminateCause = 13 AcctTerminateCause_Value_PortSuspended AcctTerminateCause = 14 AcctTerminateCause_Value_Callback AcctTerminateCause = 16 AcctTerminateCause_Value_UserError AcctTerminateCause = 17 AcctTerminateCause_Value_HostRequest AcctTerminateCause = 18 )
func AcctTerminateCause_Get ¶
func AcctTerminateCause_Get(p *radius.Packet) (value AcctTerminateCause)
func AcctTerminateCause_Gets ¶
func AcctTerminateCause_Gets(p *radius.Packet) (values []AcctTerminateCause, err error)
func AcctTerminateCause_Lookup ¶
func AcctTerminateCause_Lookup(p *radius.Packet) (value AcctTerminateCause, err error)
func (AcctTerminateCause) String ¶
func (a AcctTerminateCause) String() string
Click to show internal directories.
Click to hide internal directories.