Documentation ¶
Index ¶
- func BatchClearRadiusOnlineDataByNas(nasip, nasid string) error
- func Listen() error
- type FreeradiusServer
- func (s *FreeradiusServer) FreeradiusAccounting(c echo.Context) error
- func (s *FreeradiusServer) FreeradiusAuthenticate(c echo.Context) error
- func (s *FreeradiusServer) FreeradiusAuthorize(c echo.Context) error
- func (s *FreeradiusServer) FreeradiusPostauth(c echo.Context) error
- func (s *FreeradiusServer) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FreeradiusServer ¶
type FreeradiusServer struct {
// contains filtered or unexported fields
}
func NewFreeRADIUSServer ¶
func NewFreeRADIUSServer() *FreeradiusServer
func (*FreeradiusServer) FreeradiusAccounting ¶
func (s *FreeradiusServer) FreeradiusAccounting(c echo.Context) error
FreeradiusAccounting Accounting processing
func (*FreeradiusServer) FreeradiusAuthenticate ¶
func (s *FreeradiusServer) FreeradiusAuthenticate(c echo.Context) error
FreeradiusAuthenticate Authenticate processing
# FreeradiusAuthorize/FreeradiusAuthenticate # # Code Meaning Process body Module code # 404 not found no notfound # 410 gone no notfound # 403 forbidden no userlock # 401 unauthorized yes reject # 204 no content no ok # 2xx successful yes ok/updated # 5xx server error no fail # xxx - no invalid
func (*FreeradiusServer) FreeradiusAuthorize ¶
func (s *FreeradiusServer) FreeradiusAuthorize(c echo.Context) error
FreeradiusAuthorize Authorize processing, if the user exists, the password response is sent back for further verification.
# FreeradiusAuthorize/FreeradiusAuthenticate # # Code Meaning Process body Module code # 404 not found no notfound # 410 gone no notfound # 403 forbidden no userlock # 401 unauthorized yes reject # 204 no content no ok # 2xx successful yes ok/updated # 5xx server error no fail # xxx - no invalid
func (*FreeradiusServer) FreeradiusPostauth ¶
func (s *FreeradiusServer) FreeradiusPostauth(c echo.Context) error
FreeradiusPostauth Postauth processing
Click to show internal directories.
Click to hide internal directories.