MCPcopy Create free account
hub / github.com/facebook/time / Time

Method Time

phc/pps_source.go:81–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79// DeviceController defines a subset of functions to interact with a phc device. Enables mocking.
80type DeviceController interface {
81 Time() (time.Time, error)
82 setPinFunc(index uint, pf int, ch uint) error
83 setPTPPerout(req *PtpPeroutRequest) error
84 File() *os.File

Implementers 2

MockDeviceControllerphc/pps_mock_test.go

Calls

no outgoing calls