github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/crypto/tls/ticket.go (about)

     1  // Copyright 2012 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package tls
     6  
     7  // A SessionState is a resumable session.
     8  type SessionState struct {
     9  }
    10  
    11  // ClientSessionState contains the state needed by a client to
    12  // resume a previous TLS session.
    13  type ClientSessionState struct {
    14  	ticket  []byte
    15  	session *SessionState
    16  }