Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcquireTimeDate ¶
func AcquireTimeDate(ctx context.Context, w http.ResponseWriter) error
func RegisterRouterTimeDate ¶
Types ¶
type Describe ¶
type Describe struct { Timezone string `json:"Timezone"` LocalRTC bool `json:"LocalRTC"` CanNTP bool `json:"CanNTP"` NTP string `json:"NTP"` NTPSynchronized bool `json:"NTPSynchronized"` TimeUSec uint64 `json:"TimeUSec"` RTCTimeUSec uint64 `json:"RTCTimeUSec"` }
func DBusAcquireTimeDate ¶
type SDConnection ¶
type SDConnection struct {
// contains filtered or unexported fields
}
func NewSDConnection ¶
func NewSDConnection() (*SDConnection, error)
func (*SDConnection) Close ¶
func (c *SDConnection) Close()
func (*SDConnection) DBusAcquire ¶
func (c *SDConnection) DBusAcquire(property string) (dbus.Variant, error)
type TimeDate ¶
func (*TimeDate) ConfigureTimeDate ¶
func (t *TimeDate) ConfigureTimeDate(w http.ResponseWriter) error
Click to show internal directories.
Click to hide internal directories.