nts

package
v1.177.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

func IsEnabled

func IsEnabled(c *Config) bool

IsEnabled for nts.

Types

type Config

type Config struct {
	Host string `yaml:"host,omitempty" json:"host,omitempty" toml:"host,omitempty"`
}

Config for nts.

type Service

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

Service for NTS.

func NewService

func NewService(cfg *Config) (*Service, error)

NewService for NTS.

func (*Service) Query

func (s *Service) Query() (*ntp.Response, error)

Query for NTS.

Jump to

Keyboard shortcuts

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