ntp

package
v0.0.0-...-890cd7e Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(ctx context.Context, router adapter.Router, logger logger.Logger, options option.NTPOptions) *Service

func (*Service) Close

func (s *Service) Close() error

func (*Service) Start

func (s *Service) Start() error

func (*Service) TimeFunc

func (s *Service) TimeFunc() func() time.Time

Jump to

Keyboard shortcuts

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