Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-14 14:13:20 +02:00
parent ba8f137885
commit d7cb0b3ea1
5 changed files with 66 additions and 29 deletions

View File

@ -1,12 +1,17 @@
package tls
import "crypto/tls"
import (
"context"
"crypto/tls"
)
type State struct {
HasStarted bool
RemainingChunks [][]byte
TotalPayloadSize int
TLS *tls.Conn
Conn TLSConnection
Context context.Context
}
func NewState() State {