Versions in this module Expand all Collapse all v0 v0.1.2 Dec 2, 2019 Changes in this version + func PluginIsType(plugin Plugin, pluginType PluginType) bool + func PluginTypeNames(pluginType PluginType) []string + type Accounter interface + CheckAndLogTimingErrors func(timestamp time.Time, acctSessionID, nas string, serviceID int, isService bool, ...) + HandleAccountingOnOff func(nas string, acctType goradius.AcctStatusType) + HandleAccountingPacket func(responseWriter radius.ResponseWriter, request *radius.Request, ...) + SendAccountingResponse func(responseWriter radius.ResponseWriter, request *radius.Request) + type Authenticater interface + HandleAuthenticationPacket func(responseWriter radius.ResponseWriter, request *radius.Request, ...) + type ConfigReader interface + Duration func(sectionName, key string) time.Duration + GetServerAndRestAPIAddress func(serverType utils.ServerType) (ipAddress, restAPIAddress string) + Integer func(sectionName, key string) int + String func(sectionName, key string) string + SubsectionValues func(sectionName, key string) []string + Subsections func(sectionName string, level int) []string + Values func(sectionName string) map[string]string + type Datastorer interface + CheckConnectivity func() bool + Delete func(collection string, key string) error + Retrieve func(collection string, key string) (map[string]interface{}, error) + RetrieveAuthARI func(key string) (map[string]interface{}, error) + RetrieveAuthUser func(key string) (map[string]interface{}, error) + RetrieveGroup func(key string) (map[string]interface{}, error) + RetrieveService func(key string) (map[string]interface{}, error) + RetrieveSession func(key string) (map[string]interface{}, error) + RetrieveUser func(key string) (map[string]interface{}, error) + Store func(collection string, key string, value interface{}) error + StoreAuthARI func(key string, value interface{}) error + StoreAuthUser func(key string, value interface{}) error + StoreGroup func(key string, value interface{}) error + StoreService func(key string, value interface{}) error + StoreSession func(key string, value interface{}) error + StoreUser func(key string, value interface{}) error + type Logger interface + type Plugin interface + GetPluginInfo func() PluginInfo + Init func(Logger, ConfigReader) error + InitWithPluginSystem func(pluginSystem PluginSystem) error + Start func(conf utils.ServerFlagConfig) error + type PluginInfo struct + Buildvers buildvers.Buildvers + Name string + Type PluginType + type PluginSystem interface + GetAllAccounter func() (map[string]Accounter, error) + GetAllAuthenticater func() (map[string]Authenticater, error) + GetAllDatastorer func() (map[string]Datastorer, error) + GetAllPoolContacter func() (map[string]PoolContacter, error) + GetByName func(name string) (Plugin, error) + LoadPlugins func(pluginDir string) ([]Plugin, error) + Select func(pluginType PluginType, name string) error + type PluginType int + const TypeAccounter + const TypeAuthenticater + const TypeDatastorer + const TypePoolContacter + const TypeRadiusHandler + func (pluginType PluginType) String() string + type PoolContacter interface + ClearIPPool func(device string) + DeleteSessionIPAddresses func(device, acctSessionID string) + LockSessionIPAddresses func(device, poolname, acctSessionID string) + SetIPPool func(authenticationInformation utils.AuthenticationInformation, ...) bool + type RadiusHandler interface + GetRadiusHandler func() func(radius.ResponseWriter, *radius.Request) + type RadiusPacketServer interface + ListenAndServe func() error + Serve func(conn net.PacketConn) error + Shutdown func(ctx context.Context) error