mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-09-22 09:59:04 +00:00
created proxy and listeners to connect recorder and server-client cross writing
This commit is contained in:
24
proxy/vnc-session.go
Normal file
24
proxy/vnc-session.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package proxy
|
||||
|
||||
type SessionStatus int
|
||||
type SessionType int
|
||||
|
||||
const (
|
||||
SessionStatusInit SessionStatus = iota
|
||||
SessionStatusActive
|
||||
)
|
||||
|
||||
const (
|
||||
SessionTypeRecordingProxy SessionType = iota
|
||||
SessionTypeReplayServer
|
||||
SessionTypeProxyPass
|
||||
)
|
||||
|
||||
type VncSession struct {
|
||||
TargetHostname string
|
||||
TargetPort string
|
||||
TargetPassword string
|
||||
ID string
|
||||
Status SessionStatus
|
||||
Type SessionType
|
||||
}
|
Reference in New Issue
Block a user