mirror of https://github.com/tailscale/tailscale/
logtail: delete ID types and functions (#7412)
These have been moved to the types/logid package. Signed-off-by: Joe Tsai <joetsai@digital-static.net>pull/7415/head
parent
9cb332f0e2
commit
7e4788e383
@ -1,27 +0,0 @@
|
|||||||
// Copyright (c) Tailscale Inc & AUTHORS
|
|
||||||
// SPDX-License-Identifier: BSD-3-Clause
|
|
||||||
|
|
||||||
package logtail
|
|
||||||
|
|
||||||
import "tailscale.com/types/logid"
|
|
||||||
|
|
||||||
// Deprecated: Use "tailscale.com/types/logid".PrivateID instead.
|
|
||||||
type PrivateID = logid.PrivateID
|
|
||||||
|
|
||||||
// Deprecated: Use "tailscale.com/types/logid".NewPrivateID instead.
|
|
||||||
func NewPrivateID() (PrivateID, error) {
|
|
||||||
return logid.NewPrivateID()
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use "tailscale.com/types/logid".ParsePrivateID instead.
|
|
||||||
func ParsePrivateID(s string) (PrivateID, error) {
|
|
||||||
return logid.ParsePrivateID(s)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use "tailscale.com/types/logid".PublicID instead.
|
|
||||||
type PublicID = logid.PublicID
|
|
||||||
|
|
||||||
// Deprecated: Use "tailscale.com/types/logid".ParsePublicID instead.
|
|
||||||
func ParsePublicID(s string) (PublicID, error) {
|
|
||||||
return logid.ParsePublicID(s)
|
|
||||||
}
|
|
Loading…
Reference in New Issue