Documentation ¶
Index ¶
- Constants
- func GetLogger(defaultLogger *log.Entry, ctx *gin.Context) *log.Entry
- func Ipv4ToInt(ip net.IP) (uint32, error)
- func RadiusAcceptAdmin(c *gin.Context, password string, class string, logger *logrus.Entry, ...)
- func RadiusAcceptUser(c *gin.Context, password string, vlanId uint16, logger *logrus.Entry, ...)
- func RadiusReject(c *gin.Context, logger *logrus.Entry, args ...interface{})
Constants ¶
View Source
const ( Logger = "logger" NetworkSrcVLAN = "network_src_vlan" NetworkSrcIP = "network_src_ip" ClientIP = "client_ip" ClientVLAN = "client_vlan" ClientRequest = "client_request" ClientUsername = "client_username" ClientMAC = "client_mac" )
Variables ¶
This section is empty.
Functions ¶
func RadiusAcceptAdmin ¶
func RadiusAcceptUser ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.