Documentation ¶
Index ¶
- type SubService
- type UserService
- func (userService *UserService) GetSSRList(username string) ([]pojo.SSR, error)
- func (userService *UserService) GetV2rayList(username string) ([]pojo.V2ray, error)
- func (userService *UserService) UpdateUserConfig(username string, userConfig string) error
- func (userService *UserService) Verify(username string, password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubService ¶
type SubService struct { }
SubService sub service
func (*SubService) GetAllSSR ¶
func (subService *SubService) GetAllSSR(linkList []string) ([]byte, error)
GetAllSSR 下载所有连接的文件并集合到一个文件中
func (*SubService) GetAllV2ray ¶
func (subService *SubService) GetAllV2ray(linkList []string) ([]byte, error)
GetAllV2ray ...
type UserService ¶
type UserService struct { }
UserService user serice
func (*UserService) GetSSRList ¶
func (userService *UserService) GetSSRList(username string) ([]pojo.SSR, error)
GetSSRList Get User SSR List
func (*UserService) GetV2rayList ¶
func (userService *UserService) GetV2rayList(username string) ([]pojo.V2ray, error)
GetV2rayList Get User V2ray List
func (*UserService) UpdateUserConfig ¶
func (userService *UserService) UpdateUserConfig(username string, userConfig string) error
UpdateUserConfig ...
Click to show internal directories.
Click to hide internal directories.