cli

package
v0.29.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: BSD-3-Clause Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeadscaleDateTimeFormat = "2006-01-02 15:04:05"
	SocketWritePermissions  = 0o666
)
View Source
const (
	// DefaultAPIKeyExpiry is 90 days.
	DefaultAPIKeyExpiry = "90d"
)
View Source
const (
	DefaultPreAuthKeyExpiry = "1h"
)

Variables

This section is empty.

Functions

func ColourTime added in v0.13.0

func ColourTime(date time.Time) string

func Execute added in v0.6.1

func Execute()

Types

type Error added in v0.12.1

type Error string

Error is used to compare errors as per https://dave.cheney.net/2016/04/07/constant-errors

func (Error) Error added in v0.12.1

func (e Error) Error() string

Jump to

Keyboard shortcuts

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