Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RadiusAdminResponse ¶
type RadiusRejectResponse ¶
type RadiusRejectResponse struct {
AuthType string `json:"control:Auth-Type" default:"Reject"`
}
type RadiusUserResponse ¶
type RadiusUserResponse struct {
TunnelType string `json:"reply:Tunnel-Type" default:"VLAN"`
TunnelMedium string `json:"reply:Tunnel-Medium-Type" default:"IEEE-802"`
VLAN uint16 `json:"reply:Tunnel-Private-Group-Id" default:"0"`
Password string `json:"config:Password-With-Header" binding:"required"`
}
type ServerStatus ¶ added in v1.0.0
type UserRequest ¶
type UserRequest struct {
Username string `json:"username" binding:"required"`
Password string `json:"password"`
ClientIp string `json:"ip" binding:"required"`
VirtualServer string `json:"realm" binding:"required"`
AuthType string `json:"type"`
Authenticator string `json:"called"`
ClientMac string `json:"calling"`
}
func (UserRequest) GetClientMac ¶
func (r UserRequest) GetClientMac() string
Click to show internal directories.
Click to hide internal directories.