Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcpConfig ¶
type TcpConfig struct { // Address is the full connection string for the running platform. Address string }
TcpConfig represents connection options for connecting to a running platform via TCP (e.g., the Microsoft reference TPM 2.0 simulator).
type TcpPlatform ¶
type TcpPlatform struct {
// contains filtered or unexported fields
}
TcpPlatform is a connection to the running TCP platform.
func OpenTcpPlatform ¶
func OpenTcpPlatform(c *TcpConfig) (*TcpPlatform, error)
OpenTcpPlatform opens a connection to the running TCP platform.
func (TcpPlatform) Close ¶
func (p TcpPlatform) Close() error
Close closes the connection to the running platform.
func (TcpPlatform) PowerOff ¶
func (p TcpPlatform) PowerOff() error
PowerOff powers off the platform.
Click to show internal directories.
Click to hide internal directories.