crash.software
Projects
Pull Requests
Issues
Builds
SeaMoon
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
SeaMoon
Files
🤬
Sign In
ff358b7c
ROOT
/
pkg
/
api
/
service
/
proxy.go
Search
History
152 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
proxy
*proxy
TotalProxies
(ctx context.Context)
:
(int64, error)
ListProxies
(ctx context.Context, page, size int)
:
(models.ProxyList, error)
ListActiveProxies
(ctx context.Context)
:
(models.ProxyList, error)
GetProxyById
(ctx context.Context, id uint)
:
(*models.Proxy, error)
GetProxyByName
(ctx context.Context, name string)
:
(*models.Proxy, error)
CreateProxy
(ctx context.Context, obj *models.Proxy)
:
(*models.Proxy, error)
UpdateProxy
(ctx context.Context, id uint, obj *models.Proxy)
:
(*models.Proxy, error)
UpdateProxyConn
(ctx context.Context, id uint, op int)
UpdateProxyNetworkInfo
(ctx context.Context, id uint, in int64, out int64)
UpdateProxyNetworkLag
(ctx context.Context, id uint, lag int64)
UpdateProxyStatus
(ctx context.Context, id uint, status enum.ProxyStatus, msg string)
DeleteProxy
(ctx context.Context, id uint)
:
error
ExistProxy
(ctx context.Context, name *string)
:
bool
SpeedProxy
(ctx context.Context, obj *models.Proxy)
:
error
All occurrences
Please wait...
Page is in error, reload to recover