Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(vpn): upsert agents with their network status#15659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanndickson merged 1 commit intomainfromethan/vpn-agents-netstatus
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions.golangci.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -175,8 +175,6 @@ linters-settings:
- name: modifies-value-receiver
- name: package-comments
- name: range
- name: range-val-address
- name: range-val-in-closure
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

spikecurtis reacted with thumbs up emoji
- name: receiver-naming
- name: redefines-builtin-id
- name: string-of-int
Expand All@@ -199,6 +197,10 @@ linters-settings:
govet:
disable:
- loopclosure
gosec:
excludes:
# Implicit memory aliasing of items from a range statement (irrelevant as of Go v1.22)
- G601

issues:
# Rules listed here: https://github.com/securego/gosec#available-rules
Expand DownExpand Up@@ -238,7 +240,6 @@ linters:
- errname
- errorlint
- exhaustruct
- exportloopref
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

- forcetypeassert
- gocritic
# gocyclo is may be useful in the future when we start caring
Expand Down
2 changes: 2 additions & 0 deletionsvpn/client.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,6 +11,7 @@ import (
"tailscale.com/net/dns"
"tailscale.com/wgengine/router"

"github.com/google/uuid"
"github.com/tailscale/wireguard-go/tun"

"cdr.dev/slog"
Expand All@@ -23,6 +24,7 @@ import (

type Conn interface {
CurrentWorkspaceState() (tailnet.WorkspaceUpdate, error)
GetPeerDiagnostics(peerID uuid.UUID) tailnet.PeerDiagnostics
Close() error
}

Expand Down
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp