From df115844e8144d603eb4cc7d7bc793efaf2a735e Mon Sep 17 00:00:00 2001 From: Teages Date: Sun, 30 Jul 2023 15:59:08 +0800 Subject: [PATCH] dual gpu support --- server/controllers.go | 2 -- server/go.mod | 2 +- server/go.sum | 8 ++------ 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/server/controllers.go b/server/controllers.go index fff761e..bad15ed 100644 --- a/server/controllers.go +++ b/server/controllers.go @@ -10,7 +10,6 @@ import ( "strings" "github.com/Teages/go-vdigi" - "github.com/Teages/vTablet/internal/logger" "golang.org/x/net/websocket" ) @@ -37,7 +36,6 @@ type ScreenData struct { } func connecter(w http.ResponseWriter, r *http.Request) { - logger.Log("cat") w.Header().Set("Content-Type", "application/json") w.Header().Set("Access-Control-Allow-Origin", "https://vtablet.teages.xyz") w.WriteHeader(http.StatusOK) diff --git a/server/go.mod b/server/go.mod index 3874eee..2788e83 100644 --- a/server/go.mod +++ b/server/go.mod @@ -27,7 +27,7 @@ require ( ) require ( - github.com/Teages/go-vdigi v0.1.4 + github.com/Teages/go-vdigi v0.2.0 github.com/Teages/go-vfile v0.0.2 github.com/getlantern/systray v1.2.1 github.com/go-ole/go-ole v1.2.6 // indirect diff --git a/server/go.sum b/server/go.sum index 4257839..02f4a28 100644 --- a/server/go.sum +++ b/server/go.sum @@ -1,11 +1,7 @@ github.com/Teages/go-autostart v0.0.0-20220902154128-6e07ff286975 h1:fJyPPigvnVBwmCsY8I3C9Ag4RsN+dRAqm5uq6fkbMMM= github.com/Teages/go-autostart v0.0.0-20220902154128-6e07ff286975/go.mod h1:x1oXrbaZQHmTTE9pLj3LYjefeLkEYY+AAq/RODO9Cfg= -github.com/Teages/go-vdigi v0.1.2 h1:OlP04zhOR1fCqoqGAww1oL7cm7rkaoyZGl8TwmXQwvY= -github.com/Teages/go-vdigi v0.1.2/go.mod h1:fcSffmrQ8TJu8GH//dIbnEbw9g8BxQPrJYs5aUAyd1A= -github.com/Teages/go-vdigi v0.1.3 h1:pL75c59qD1J86BKLVoNkWx9uS1miFyqBxJULkbKX6x4= -github.com/Teages/go-vdigi v0.1.3/go.mod h1:fcSffmrQ8TJu8GH//dIbnEbw9g8BxQPrJYs5aUAyd1A= -github.com/Teages/go-vdigi v0.1.4 h1:NZXVfXsmBp7iNiVrDxTCGD1RZzLRfC4CSOvhJmUW9Hw= -github.com/Teages/go-vdigi v0.1.4/go.mod h1:fcSffmrQ8TJu8GH//dIbnEbw9g8BxQPrJYs5aUAyd1A= +github.com/Teages/go-vdigi v0.2.0 h1:94efgR51aLROQ3Burn5qchSaWBcMzr69k4ibQHdWeMY= +github.com/Teages/go-vdigi v0.2.0/go.mod h1:fcSffmrQ8TJu8GH//dIbnEbw9g8BxQPrJYs5aUAyd1A= github.com/Teages/go-vfile v0.0.2 h1:u2XOUsMrX9CIWp7s+pfMjlnrv3pUtijHdWxbqnmf+6E= github.com/Teages/go-vfile v0.0.2/go.mod h1:LhuEFb4vgmxCu3wzpgy9xNAF/2K+Awigkp+HMW5eXxM= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=