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
d8c188af
ROOT
/
pkg
/
api
/
service
/
tunnel.go
Search
History
178 lines
|
UTF-8
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
tunnel
*tunnel
TotalTunnels
(ctx context.Context)
:
(int64, error)
ListTunnels
(ctx context.Context, page, size int)
:
(models.TunnelList, error)
GetTunnelById
(ctx context.Context, id uint)
:
(*models.Tunnel, error)
GetTunnelByUId
(ctx context.Context, uid string)
:
(*models.Tunnel, error)
GetTunnelByName
(ctx context.Context, name string)
:
(*models.Tunnel, error)
CreateTunnel
(ctx context.Context, obj *models.Tunnel)
:
(*models.Tunnel, error)
UpdateTunnel
(ctx context.Context, obj *models.Tunnel)
:
(*models.Tunnel, error)
DeleteTunnel
(ctx context.Context, id uint)
:
error
ExistTunnel
(ctx context.Context, name, uid *string)
:
bool
DeployTunnel
(ctx context.Context, id uint)
:
error
StopTunnel
(ctx context.Context, tun *models.Tunnel)
:
error
All occurrences
Please wait...
Page is in error, reload to recover