Documentation
¶
Index ¶
Constants ¶
View Source
const ProxyGroups = `` /* 162-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func NewSubHandler ¶
func NewSubHandler(g *gin.RouterGroup)
Types ¶
type ClashService ¶
type ClashService struct {
service.SettingService
JsonService
LinkService
}
func (*ClashService) ConvertToClashMeta ¶
func (s *ClashService) ConvertToClashMeta(outbounds *[]map[string]interface{}) ([]byte, error)
type JsonService ¶
type JsonService struct {
service.SettingService
LinkService
}
type LinkService ¶
type LinkService struct {
}
func (*LinkService) GetLinks ¶
func (s *LinkService) GetLinks(linkJson *json.RawMessage, types string, clientInfo string) []string
type Server ¶
type Server struct {
service.SettingService
// contains filtered or unexported fields
}
type SubHandler ¶
type SubHandler struct {
service.SettingService
SubService
JsonService
ClashService
}
type SubService ¶
type SubService struct {
service.SettingService
LinkService
}
Click to show internal directories.
Click to hide internal directories.