tests

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EAPOLTest

func EAPOLTest(t *testing.T, config string) ([]string, int)

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewTestServer

func NewTestServer(t *testing.T) *Server

func (*Server) GetEAPSettings

func (s *Server) GetEAPSettings() protocol.Settings

func (*Server) GetEAPState

func (s *Server) GetEAPState(key string) *protocol.State

func (*Server) RADIUSSecret

func (s *Server) RADIUSSecret(ctx context.Context, remoteAddr net.Addr) ([]byte, error)

func (*Server) Run

func (s *Server) Run(ctx context.Context)

func (*Server) ServeRADIUS

func (s *Server) ServeRADIUS(w radius.ResponseWriter, r *radius.Request)

func (*Server) SetEAPState

func (s *Server) SetEAPState(key string, state *protocol.State)

Jump to

Keyboard shortcuts

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