Documentation ¶
Overview ¶
package servcers implements WiFi AAA GRPC services
package servcers implements WiFi AAA GRPC services
package servcers implements WiFi AAA GRPC services
package servcers implements WiFi AAA GRPC services
Index ¶
- Constants
- func Error(code codes.Code, err error) error
- func Errorf(code codes.Code, format string, a ...interface{}) error
- func GetIdleSessionTimeout(cfg *mconfig.AAAConfig) time.Duration
- func NewAccountingService(sessions aaa.SessionTable, cfg *mconfig.AAAConfig) (*accountingService, error)
- func NewEapAuthenticator(sessions aaa.SessionTable, cfg *mconfig.AAAConfig, acct *accountingService) (protos.AuthenticatorServer, error)
Constants ¶
View Source
const ( MinIMSILen = 10 MaxIMSILen = 16 )
View Source
const MacAddrKey = "mac_addr"
Variables ¶
This section is empty.
Functions ¶
func GetIdleSessionTimeout ¶
GetIdleSessionTimeout returns Idle Session Timeout Duration if set in mconfigs or DefaultSessionTimeout otherwise
func NewAccountingService ¶
func NewAccountingService(sessions aaa.SessionTable, cfg *mconfig.AAAConfig) (*accountingService, error)
NewEapAuthenticator returns a new instance of EAP Auth service
func NewEapAuthenticator ¶
func NewEapAuthenticator( sessions aaa.SessionTable, cfg *mconfig.AAAConfig, acct *accountingService) (protos.AuthenticatorServer, error)
NewEapAuthenticator returns a new instance of EAP Auth service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.