Skip to content

Commit

Permalink
Rename csproj, sln, namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
cristipufu committed Aug 23, 2024
1 parent 05c1044 commit a5b10d8
Show file tree
Hide file tree
Showing 35 changed files with 41 additions and 41 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
dotnet-version: '8.x'

- name: Build with dotnet
working-directory: src/WebSocketTunnel.Server
working-directory: src/Tunnelite.Server
run: dotnet build --configuration Release

- name: dotnet publish
working-directory: src/WebSocketTunnel.Server
working-directory: src/Tunnelite.Server
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp

- name: Upload artifact for deployment job
Expand Down
4 changes: 2 additions & 2 deletions WebSocketTunnel.sln → Tunnelite.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.10.35013.160
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebSocketTunnel.Server", "src\WebSocketTunnel.Server\WebSocketTunnel.Server.csproj", "{F4F5BED8-351A-4F10-B82C-F79190CF1034}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tunnelite.Server", "src\Tunnelite.Server\Tunnelite.Server.csproj", "{F4F5BED8-351A-4F10-B82C-F79190CF1034}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebSocketTunnel.Client", "src\WebSocketTunnel.Client\WebSocketTunnel.Client.csproj", "{959412E1-F444-4834-B457-47452236C9B3}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tunnelite.Client", "src\Tunnelite.Client\Tunnelite.Client.csproj", "{959412E1-F444-4834-B457-47452236C9B3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AFD8CF9B-F8B9-47C9-BEAB-FC0161D2AFB8}"
EndProject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Client.HttpTunnel;
namespace Tunnelite.Client.HttpTunnel;

public class HttpConnection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Net.WebSockets;
using System.Runtime.CompilerServices;

namespace WebSocketTunnel.Client.HttpTunnel;
namespace Tunnelite.Client.HttpTunnel;

public class HttpTunnelClient
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Client.HttpTunnel;
namespace Tunnelite.Client.HttpTunnel;

public class HttpTunnelRequest
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Client.HttpTunnel;
namespace Tunnelite.Client.HttpTunnel;

public class HttpTunnelResponse
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Logging;
using System.CommandLine;
using WebSocketTunnel.Client.TcpTunnel;
using WebSocketTunnel.Client.HttpTunnel;
using Tunnelite.Client.TcpTunnel;
using Tunnelite.Client.HttpTunnel;

namespace WebSocketTunnel.Client;
namespace Tunnelite.Client;

public class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Server.TcpTunnel;
namespace Tunnelite.Client.TcpTunnel;

public class TcpConnection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Net.Sockets;
using System.Runtime.CompilerServices;

namespace WebSocketTunnel.Client.TcpTunnel;
namespace Tunnelite.Client.TcpTunnel;

public class TcpTunnelClient
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Client.TcpTunnel;
namespace Tunnelite.Client.TcpTunnel;

public class TcpTunnelRequest
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Client.TcpTunnel;
namespace Tunnelite.Client.TcpTunnel;

public class TcpTunnelResponse
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using WebSocketTunnel.Server.HttpTunnel;
using WebSocketTunnel.Server.TcpTunnel;
using WebSocketTunnel.Server.WsTunnel;
using Tunnelite.Server.HttpTunnel;
using Tunnelite.Server.TcpTunnel;
using Tunnelite.Server.WsTunnel;

namespace WebSocketTunnel.Server;
namespace Tunnelite.Server;

public static class Extensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;

namespace WebSocketTunnel.Server.HttpTunnel;
namespace Tunnelite.Server.HttpTunnel;

public static class HttpAppExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Server.HttpTunnel;
namespace Tunnelite.Server.HttpTunnel;

public class HttpConnection
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebSocketTunnel.Server.HttpTunnel;
namespace Tunnelite.Server.HttpTunnel;

public class HttpDefferedRequest : IDisposable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Concurrent;

namespace WebSocketTunnel.Server.HttpTunnel;
namespace Tunnelite.Server.HttpTunnel;

public class HttpRequestsQueue
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.AspNetCore.SignalR;
using System.Buffers;
using System.Net.WebSockets;
using WebSocketTunnel.Server.WsTunnel;
using Tunnelite.Server.WsTunnel;

namespace WebSocketTunnel.Server.HttpTunnel;
namespace Tunnelite.Server.HttpTunnel;

public class HttpTunnelHub(HttpTunnelStore httpTunnelStore, WsRequestsQueue wsRequestsQueue, ILogger<HttpTunnelHub> logger) : Hub
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Concurrent;

namespace WebSocketTunnel.Server.HttpTunnel;
namespace Tunnelite.Server.HttpTunnel;

public class HttpTunnelStore
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using WebSocketTunnel.Server;
using WebSocketTunnel.Server.HttpTunnel;
using WebSocketTunnel.Server.TcpTunnel;
using WebSocketTunnel.Server.WsTunnel;
using Tunnelite.Server;
using Tunnelite.Server.HttpTunnel;
using Tunnelite.Server.TcpTunnel;
using Tunnelite.Server.WsTunnel;

var builder = WebApplication.CreateBuilder(args);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebSocketTunnel.Server.TcpTunnel;
namespace Tunnelite.Server.TcpTunnel;

public static class TcpAppExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Net.Sockets;

#nullable disable
namespace WebSocketTunnel.Server.TcpTunnel;
namespace Tunnelite.Server.TcpTunnel;

public class TcpClientStore
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Client.TcpTunnel;
namespace Tunnelite.Server.TcpTunnel;

public class TcpConnection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Net.Sockets;
using System.Threading.Channels;

namespace WebSocketTunnel.Server.TcpTunnel;
namespace Tunnelite.Server.TcpTunnel;

public class TcpTunnelHub(TcpTunnelStore tunnelStore, TcpClientStore tcpClientStore, IHubContext<TcpTunnelHub> hubContext, ILogger<TcpTunnelHub> logger) : Hub
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Concurrent;

#nullable disable
namespace WebSocketTunnel.Server.TcpTunnel;
namespace Tunnelite.Server.TcpTunnel;

public class TcpTunnelStore
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebSocketTunnel.Server.WsTunnel;
namespace Tunnelite.Server.WsTunnel;

public static class WsAppExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable disable
namespace WebSocketTunnel.Server.WsTunnel;
namespace Tunnelite.Server.WsTunnel;

public class WsConnection
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Net.WebSockets;

namespace WebSocketTunnel.Server.WsTunnel;
namespace Tunnelite.Server.WsTunnel;

public class WsDefferedRequest
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Concurrent;
using System.Net.WebSockets;

namespace WebSocketTunnel.Server.WsTunnel;
namespace Tunnelite.Server.WsTunnel;

public class WsRequestsQueue
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.SignalR;
using WebSocketTunnel.Server.HttpTunnel;
using Tunnelite.Server.HttpTunnel;

namespace WebSocketTunnel.Server.WsTunnel;
namespace Tunnelite.Server.WsTunnel;

public class WsTunnelMiddleware(RequestDelegate next, WsRequestsQueue requestsQueue, HttpTunnelStore tunnelStore, IHubContext<HttpTunnelHub> hubContext, ILogger<WsTunnelMiddleware> logger)
{
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a5b10d8

Please sign in to comment.