mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 11:41:39 +00:00
ipn: adjust backend docs a bit more.
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
parent
73c0a2bee2
commit
96fd8b4230
@ -66,15 +66,13 @@ type Notify struct {
|
|||||||
// to the backend. That way, while we can't identify an OS user by
|
// to the backend. That way, while we can't identify an OS user by
|
||||||
// name, we can tell two different users apart, because they'll have
|
// name, we can tell two different users apart, because they'll have
|
||||||
// different opaque state keys (and no access to each others's keys).
|
// different opaque state keys (and no access to each others's keys).
|
||||||
//
|
|
||||||
// It would be much nicer if we could just figure out the OS user that
|
|
||||||
// owns the connected frontend, but here we are.
|
|
||||||
type StateKey string
|
type StateKey string
|
||||||
|
|
||||||
type Options struct {
|
type Options struct {
|
||||||
// FrontendLogID is the public logtail id used by the frontend.
|
// FrontendLogID is the public logtail id used by the frontend.
|
||||||
FrontendLogID string
|
FrontendLogID string
|
||||||
// ServerURL is the base URL of the tailcontrol server to talk to.
|
// ServerURL is the base URL of the tailcontrol server to talk
|
||||||
|
// to. Required.
|
||||||
ServerURL string
|
ServerURL string
|
||||||
// StateKey and Prefs together define the state the backend should
|
// StateKey and Prefs together define the state the backend should
|
||||||
// use:
|
// use:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user