socket

package
v0.51.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotAvailable = errors.New("socket not available")
	ErrNotSupported = errors.New("connecting to a TPM using a UNIX socket is not supported on Windows")
)

Functions

func New

func New(path string) (io.ReadWriteCloser, error)

Types

type CommandChannelWithoutMeasurementLog

type CommandChannelWithoutMeasurementLog struct {
	io.ReadWriteCloser
}

func (*CommandChannelWithoutMeasurementLog) MeasurementLog

func (c *CommandChannelWithoutMeasurementLog) MeasurementLog() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL