From 6de0a618eea6865f6d230006dae758657090e2a7 Mon Sep 17 00:00:00 2001 From: bagas Date: Mon, 5 Jan 2026 00:55:51 +0700 Subject: [PATCH] update: proto file to v1.3.0 --- go.mod | 2 +- go.sum | 4 ++-- internal/grpc/client/client.go | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index e169929..ae797c0 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module tunnel_pls go 1.25.5 require ( - git.fossy.my.id/bagas/tunnel-please-grpc v1.2.0 + git.fossy.my.id/bagas/tunnel-please-grpc v1.3.0 github.com/caddyserver/certmagic v0.25.0 github.com/charmbracelet/bubbles v0.21.0 github.com/charmbracelet/bubbletea v1.3.10 diff --git a/go.sum b/go.sum index ff64d7e..1ce04dc 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.fossy.my.id/bagas/tunnel-please-grpc v1.2.0 h1:BS1dJU3wa2ILgTGwkV95Knle0il0OQtErGqyb6xV7SU= -git.fossy.my.id/bagas/tunnel-please-grpc v1.2.0/go.mod h1:fG+VkArdkceGB0bNA7IFQus9GetLAwdF5Oi4jdMlXtY= +git.fossy.my.id/bagas/tunnel-please-grpc v1.3.0 h1:RhcBKUG41/om4jgN+iF/vlY/RojTeX1QhBa4p4428ec= +git.fossy.my.id/bagas/tunnel-please-grpc v1.3.0/go.mod h1:fG+VkArdkceGB0bNA7IFQus9GetLAwdF5Oi4jdMlXtY= github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= diff --git a/internal/grpc/client/client.go b/internal/grpc/client/client.go index 79c1113..2243951 100644 --- a/internal/grpc/client/client.go +++ b/internal/grpc/client/client.go @@ -40,7 +40,6 @@ type Client struct { conn *grpc.ClientConn config *GrpcConfig sessionRegistry session.Registry - slugService proto.SlugChangeClient eventService proto.EventServiceClient authorizeConnectionService proto.UserServiceClient closing bool @@ -115,14 +114,12 @@ func New(config *GrpcConfig, sessionRegistry session.Registry) (*Client, error) return nil, fmt.Errorf("failed to connect to gRPC server at %s: %w", config.Address, err) } - slugService := proto.NewSlugChangeClient(conn) eventService := proto.NewEventServiceClient(conn) authorizeConnectionService := proto.NewUserServiceClient(conn) return &Client{ conn: conn, config: config, - slugService: slugService, sessionRegistry: sessionRegistry, eventService: eventService, authorizeConnectionService: authorizeConnectionService,