2023-01-27 13:37:20 -08:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-02-05 14:16:58 -08:00
|
|
|
|
|
|
|
package logtail
|
|
|
|
|
2022-11-28 15:25:47 -08:00
|
|
|
import "tailscale.com/types/logid"
|
2020-02-05 14:16:58 -08:00
|
|
|
|
2022-11-28 15:25:47 -08:00
|
|
|
// Deprecated: Use "tailscale.com/types/logid".PrivateID instead.
|
|
|
|
type PrivateID = logid.PrivateID
|
2020-02-05 14:16:58 -08:00
|
|
|
|
2022-11-28 15:25:47 -08:00
|
|
|
// Deprecated: Use "tailscale.com/types/logid".NewPrivateID instead.
|
|
|
|
func NewPrivateID() (PrivateID, error) {
|
|
|
|
return logid.NewPrivateID()
|
2020-02-05 14:16:58 -08:00
|
|
|
}
|
|
|
|
|
2022-11-28 15:25:47 -08:00
|
|
|
// Deprecated: Use "tailscale.com/types/logid".ParsePrivateID instead.
|
2020-04-05 09:15:15 -07:00
|
|
|
func ParsePrivateID(s string) (PrivateID, error) {
|
2022-11-28 15:25:47 -08:00
|
|
|
return logid.ParsePrivateID(s)
|
2020-02-05 14:16:58 -08:00
|
|
|
}
|
|
|
|
|
2022-11-28 15:25:47 -08:00
|
|
|
// Deprecated: Use "tailscale.com/types/logid".PublicID instead.
|
|
|
|
type PublicID = logid.PublicID
|
2020-02-05 14:16:58 -08:00
|
|
|
|
2022-11-28 15:25:47 -08:00
|
|
|
// Deprecated: Use "tailscale.com/types/logid".ParsePublicID instead.
|
2020-04-13 08:54:35 -07:00
|
|
|
func ParsePublicID(s string) (PublicID, error) {
|
2022-11-28 15:25:47 -08:00
|
|
|
return logid.ParsePublicID(s)
|
2022-01-31 13:11:14 -08:00
|
|
|
}
|