mirror of
https://github.com/tailscale/tailscale.git
synced 2026-04-04 06:36:01 -04:00
19 lines
353 B
Go
19 lines
353 B
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build !ts_omit_sync
|
|
|
|
package main
|
|
|
|
import (
|
|
"tailscale.com/tailsync/tailsyncimpl"
|
|
"tailscale.com/tsd"
|
|
"tailscale.com/types/logger"
|
|
)
|
|
|
|
func init() {
|
|
hookSetSysSync.Set(func(sys *tsd.System, logf logger.Logf) {
|
|
sys.Set(tailsyncimpl.NewService(logf))
|
|
})
|
|
}
|