Versions in this module Expand all Collapse all v1 v1.0.1 Jun 23, 2022 Changes in this version + func RegisterRouterTimeSyncd(router *mux.Router) + type Describe struct + Address string + IpFamily int32 + LinkNTPServers []string + Name string + SystemNTPServers []string + func AcquireNTPServer(kind string, ctx context.Context) (*Describe, error) + func DescribeNTPServers(ctx context.Context) (*Describe, error) + type NTP struct + NTPServers []string + func (n *NTP) AddNTP(ctx context.Context, w http.ResponseWriter) error + func (n *NTP) RemoveNTP(ctx context.Context, w http.ResponseWriter) error + type SDConnection struct + func NewSDConnection() (*SDConnection, error) + func (c *SDConnection) Close() + func (c *SDConnection) DBusAcquireCurrentNTPServerFromTimeSync(ctx context.Context) (string, int32, string, error) + func (c *SDConnection) DBusAcquireLinkNTPServersFromTimeSync(ctx context.Context) ([]string, error) + func (c *SDConnection) DBusAcquireSystemNTPServersFromTimeSync(ctx context.Context) ([]string, error)