package
5.0.0+incompatible
Repository: https://github.com/qwenode/tailscale.git
Documentation: pkg.go.dev

# Functions

ConfigFromBytes parses a Config from its JSON encoding.
ConfigFromFile reads a Config from a JSON file.
LogHost returns the hostname only (without port) of the configured logtail server, or the default.
New returns a new log policy (a logger and its instance ID) for a given collection name.
NewConfig creates a Config with collection and a newly generated PrivateID.
NewLogtailTransport returns an HTTP Transport particularly suited to uploading logs to the given host name.

# Structs

Config represents an instance of logs in a collection.
Policy is a logger and its public ID.