config

package
v0.0.0-...-f967be0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = &Config{

	RoughtimeServers: []ttime.RoughtimeServer{
		{Protocol: "udp", Address: "roughtime.cloudflare.com:2002", PublicKeyType: ttime.KEY_TYPE_ED25519, PublicKey: "gD63hSj3ScS+wuOeGrubXlq35N1c5Lby/S+T7MNTjxo="},
		{Protocol: "udp", Address: "roughtime.sandbox.google.com:2002", PublicKeyType: ttime.KEY_TYPE_ED25519, PublicKey: "etPaaIxcBMY1oUeGpwvPMCJMwlRVNxv51KK/tktoJTQ="},
		{Protocol: "udp", Address: "time.0xt.ca:2002", PublicKeyType: ttime.KEY_TYPE_ED25519, PublicKey: "iBVjxg/1j7y1+kQUTBYdTabxCppesU/07D4PMDJk2WA="},
		{Protocol: "udp", Address: "roughtime.int80h.com:2002", PublicKeyType: ttime.KEY_TYPE_ED25519, PublicKey: "AW5uAoTSTDfG5NfY1bTh08GUnOqlRb+HVhbJ3ODJvsE="},
	},

	StartDebugSshServer: true,

	DebugSshServerKeys: authorizedKeys,

	Version: Version{
		Version: gitVersion,
		GitHash: gitHash,
	},

	ACME: ACME{

		Directory:   "https://10.0.2.2:14000/dir",
		Contact:     "mailto:nobody@localhost",
		TermsAgreed: termsAgreed,
		APICA:       simPebbleAPICA,
	},
}

Functions

This section is empty.

Types

type ACME

type ACME struct {
	Directory   string
	Contact     string
	TermsAgreed bool
	APICA       string
}

type Config

type Config struct {
	RoughtimeServers    []ttime.RoughtimeServer
	NtpServers          []ttime.NtpServer
	StartDebugSshServer bool
	DebugSshServerKeys  []string
	Version             Version
	ACME                ACME
}

type Version

type Version struct {
	Version string
	GitHash string
}

Jump to

Keyboard shortcuts

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