chore: Adds constant definitions.

This commit is contained in:
greysoh 2024-12-01 22:17:27 -05:00
parent 3cb9526716
commit aa16549667
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37

View file

@ -7,7 +7,6 @@ package commonbackend
// BackendStatusRequest // BackendStatusRequest
// ProxyStatusRequest // ProxyStatusRequest
// ProxyStatusResponse // ProxyStatusResponse
// GetAllConnectionsRequest
// TODO (imterah): Rename AddConnectionCommand/RemoveConnectionCommand to AddProxyCommand/RemoveProxyCommand // TODO (imterah): Rename AddConnectionCommand/RemoveConnectionCommand to AddProxyCommand/RemoveProxyCommand
// and their associated function calls // and their associated function calls
@ -37,7 +36,7 @@ type RemoveConnectionCommand struct {
Protocol string // Will be either 'tcp' or 'udp' Protocol string // Will be either 'tcp' or 'udp'
} }
type GetProxyStatus struct { type ProxyStatusRequest struct {
Type string // Will be 'getProxyStatus' always Type string // Will be 'getProxyStatus' always
SourceIP string SourceIP string
SourcePort uint16 SourcePort uint16
@ -126,6 +125,11 @@ const (
CheckClientParametersID CheckClientParametersID
CheckServerParametersID CheckServerParametersID
CheckParametersResponseID CheckParametersResponseID
GetAllConnectionsRequestID
BackendStatusResponseID
BackendStatusRequestID
ProxyStatusRequestID
ProxyStatusResponseID
) )
const ( const (