mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-04-28 03:00:08 +00:00
25 lines
413 B
Go
25 lines
413 B
Go
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
|
|
}
|