clock

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 4 Imported by: 0

README

go-clock

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(t time.Time) error

Set sets the current system time.

func SetRTC

func SetRTC(t time.Time) error

SetRTC sets the current RTC time via unix.IoctlSetRTCTime.

func SetTimeOfDay

func SetTimeOfDay(t time.Time) error

SetTimeOfDay sets the current system time via syscall.Settimeofday.

Types

This section is empty.

Jump to

Keyboard shortcuts

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