Documentation ¶ Index ¶ type Service func NewService(ctx context.Context, router adapter.Router, logger logger.Logger, ...) (*Service, error) func (s *Service) Close() error func (s *Service) Start() error func (s *Service) TimeFunc() func() time.Time 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, error) 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 Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.