@ -14,10 +14,6 @@ const (
|
||||
StatusNextProtocol
|
||||
)
|
||||
|
||||
type StateProtocol interface {
|
||||
Payload
|
||||
}
|
||||
|
||||
type Context interface {
|
||||
Packet() *radius.Request
|
||||
RootPayload() Payload
|
||||
@ -28,7 +24,7 @@ type Context interface {
|
||||
SetProtocolState(p Type, s interface{})
|
||||
IsProtocolStart(p Type) bool
|
||||
|
||||
HandleInnerEAP(Payload) Payload
|
||||
HandleInnerEAP(Payload, StateManager) Payload
|
||||
EndInnerProtocol(Status, func(p *radius.Packet) *radius.Packet)
|
||||
|
||||
Log() *log.Entry
|
||||
|
||||
Reference in New Issue
Block a user