service

package
v0.0.0-...-63a7184 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 NewSub

func NewSub() SubService

NewSub get a 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 NewUser

func NewUser() UserService

NewUser get a user service

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 ...

func (*UserService) Verify

func (userService *UserService) Verify(username string, password string) error

Verify verify username and password

Jump to

Keyboard shortcuts

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