refactor: restructure session initialization to avoid circular references
This commit is contained in:
16
types/types.go
Normal file
16
types/types.go
Normal file
@ -0,0 +1,16 @@
|
||||
package types
|
||||
|
||||
type Status string
|
||||
|
||||
const (
|
||||
INITIALIZING Status = "INITIALIZING"
|
||||
RUNNING Status = "RUNNING"
|
||||
SETUP Status = "SETUP"
|
||||
)
|
||||
|
||||
type TunnelType string
|
||||
|
||||
const (
|
||||
HTTP TunnelType = "HTTP"
|
||||
TCP TunnelType = "TCP"
|
||||
)
|
||||
Reference in New Issue
Block a user