Versions in this module Expand all Collapse all v2 v2.8.9 Feb 16, 2026 Changes in this version + func I18nWeb(c *gin.Context, name string, params ...string) string + type APIController struct + Tgbot service.Tgbot + func NewAPIController(g *gin.RouterGroup) *APIController + func (a *APIController) BackuptoTgbot(c *gin.Context) + type BaseController struct + type InboundController struct + func NewInboundController(g *gin.RouterGroup) *InboundController + type IndexController struct + func NewIndexController(g *gin.RouterGroup) *IndexController + type LoginForm struct + Password string + TwoFactorCode string + Username string + type ServerController struct + func NewServerController(g *gin.RouterGroup) *ServerController + type SettingController struct + func NewSettingController(g *gin.RouterGroup) *SettingController + type WebSocketController struct + func NewWebSocketController(hub *websocket.Hub) *WebSocketController + func (w *WebSocketController) HandleWebSocket(c *gin.Context) + type XUIController struct + func NewXUIController(g *gin.RouterGroup) *XUIController + type XraySettingController struct + InboundService service.InboundService + OutboundService service.OutboundService + SettingService service.SettingService + WarpService service.WarpService + XrayService service.XrayService + XraySettingService service.XraySettingService + func NewXraySettingController(g *gin.RouterGroup) *XraySettingController