chore: Adds constant definitions.
This commit is contained in:
parent
3cb9526716
commit
aa16549667
1 changed files with 6 additions and 2 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue