Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeServiceState ¶ added in v1.3.1
type Crt ¶
type Crt struct { gorm.Model Name string `mapstructure:"name" json:"name"` Data []byte `mapstructure:"data" json:"data"` }
single certificate
type File ¶
type File struct { Hash string `json:"hash" gorm:"primaryKey"` Date time.Time `json:"date"` FileName string `json:"file_name"` ContentType string `json:"content_type"` Size int64 `json:"size"` Data []byte `json:"data"` InteractionHash string `json:"interaction_hash"` ServiceHash string `json:"service_hash"` }
type InputNumberView ¶
type InputStringView ¶
type Service ¶
type Service struct { Hash string `json:"hash" gorm:"primary_key"` ServiceName string `json:"serviceName"` ModuleName string `json:"moduleName"` ListenIP string `json:"listenIP"` ListenPort int `json:"listenPort"` Settings datatypes.JSON `json:"moduleSettings"` Autostart bool `json:"autoStart"` Active bool `json:"active"` BaseProto string `json:"baseProto"` }
type ServiceHash ¶ added in v1.3.1
type ServiceHash struct {
Hash string `json:"hash" binding:"required"`
}
type Session ¶
type Session struct { Hash string `json:"hash" gorm:"primaryKey"` Date time.Time `json:"date"` ClientIP string `json:"client_ip" gorm:"index"` Description string `json:"description" gorm:"index"` ModuleName string `json:"module_name"` Service string `json:"service" gorm:"index"` // hash ServiceName string `json:"service_name"` Visited bool `json:"visited"` LocalAddr string `json:"local_addr"` }
type SessionInfo ¶
type Tunnel ¶ added in v1.3.0
type Tunnel struct { Hash string `json:"hash" gorm:"primary_key"` Type string `gorm:"column:type" json:"type"` DstHost string `json:"dstHost"` DstPort int `json:"dstPort"` DstTLS bool `json:"dstTLS"` Autostart bool `json:"autoStart"` Connected bool `json:"connected"` PublicAddr string `json:"publicAddr"` }
type WebService ¶ added in v1.3.1
type WebService struct { Hash string `json:"hash" ` ServiceName string `json:"serviceName" binding:"required"` ModuleName string `json:"moduleName" binding:"required"` ListenIP string `json:"listenIP" binding:"required"` ListenPort int `json:"listenPort" binding:"required"` Settings interface{} `json:"moduleSettings" binding:"required"` Autostart bool `json:"autoStart"` Active bool `json:"active"` BaseProto string `json:"baseProto"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.