servicers

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 24 Imported by: 0

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

View Source
const (
	MinIMSILen = 10
	MaxIMSILen = 16
)
View Source
const MacAddrKey = "mac_addr"

Variables

This section is empty.

Functions

func Error

func Error(code codes.Code, err error) error

func Errorf

func Errorf(code codes.Code, format string, a ...interface{}) error

func GetIdleSessionTimeout

func GetIdleSessionTimeout(cfg *mconfig.AAAConfig) time.Duration

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL