Files
authentik/internal/outpost/radius/eap/tls/state.go
Jens Langhammer 2bba0ddd74 might actually happen?
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2025-07-01 22:42:54 +02:00

20 lines
284 B
Go

package tls
import "crypto/tls"
type State struct {
HasStarted bool
RemainingChunks [][]byte
TLS *tls.Conn
}
func NewState() State {
return State{
RemainingChunks: make([][]byte, 0),
}
}
func (s State) HasMore() bool {
return len(s.RemainingChunks) > 0
}