ntp

package
v1.18.6 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Now

func Now() time.Time

func ReCreateNTPService

func ReCreateNTPService(server string, interval time.Duration, dialerProxy string, syncSystemTime bool)

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) Running

func (srv *Service) Running() bool

func (*Service) Start

func (srv *Service) Start()

func (*Service) Stop

func (srv *Service) Stop()

Jump to

Keyboard shortcuts

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