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
|
||||
// ProxyStatusRequest
|
||||
// ProxyStatusResponse
|
||||
// GetAllConnectionsRequest
|
||||
|
||||
// TODO (imterah): Rename AddConnectionCommand/RemoveConnectionCommand to AddProxyCommand/RemoveProxyCommand
|
||||
// and their associated function calls
|
||||
|
@ -37,7 +36,7 @@ type RemoveConnectionCommand struct {
|
|||
Protocol string // Will be either 'tcp' or 'udp'
|
||||
}
|
||||
|
||||
type GetProxyStatus struct {
|
||||
type ProxyStatusRequest struct {
|
||||
Type string // Will be 'getProxyStatus' always
|
||||
SourceIP string
|
||||
SourcePort uint16
|
||||
|
@ -126,6 +125,11 @@ const (
|
|||
CheckClientParametersID
|
||||
CheckServerParametersID
|
||||
CheckParametersResponseID
|
||||
GetAllConnectionsRequestID
|
||||
BackendStatusResponseID
|
||||
BackendStatusRequestID
|
||||
ProxyStatusRequestID
|
||||
ProxyStatusResponseID
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue