controller

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func I18nWeb

func I18nWeb(c *gin.Context, name string, params ...string) string

Types

type APIController

type APIController struct {
	BaseController

	Tgbot service.Tgbot
	// contains filtered or unexported fields
}

func NewAPIController

func NewAPIController(g *gin.RouterGroup, s *ServerController) *APIController

type BaseController

type BaseController struct{}

type InboundController

type InboundController struct {
	// contains filtered or unexported fields
}

func NewInboundController

func NewInboundController(g *gin.RouterGroup) *InboundController

type IndexController

type IndexController struct {
	BaseController
	// contains filtered or unexported fields
}

func NewIndexController

func NewIndexController(g *gin.RouterGroup) *IndexController

type LoginForm

type LoginForm struct {
	Username string `json:"username" form:"username"`
	Password string `json:"password" form:"password"`
}

type ServerController

type ServerController struct {
	BaseController
	// contains filtered or unexported fields
}

func NewServerController

func NewServerController(g *gin.RouterGroup) *ServerController

type SettingController

type SettingController struct {
	// contains filtered or unexported fields
}

func NewSettingController

func NewSettingController(g *gin.RouterGroup) *SettingController

type XUIController

type XUIController struct {
	BaseController
	// contains filtered or unexported fields
}

func NewXUIController

func NewXUIController(g *gin.RouterGroup) *XUIController

type XraySettingController

type XraySettingController struct {
	XraySettingService service.XraySettingService
	SettingService     service.SettingService
	InboundService     service.InboundService
	XrayService        service.XrayService
	WarpService        service.WarpService
}

func NewXraySettingController

func NewXraySettingController(g *gin.RouterGroup) *XraySettingController

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL