server

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServer

func GetServer(id int) *tunnel.Server

GetServer 获取通道

func LoadServer

func LoadServer(ctx context.Context, id int) error

LoadServer 启动时候加载服务

func LoadServers

func LoadServers(ctx context.Context) error

LoadServers 启动时候加载服务

func NewServer

func NewServer(server *model.Server) (base.ServerInstance, error)

NewServer 创建通道

func RemoveServer

func RemoveServer(id int) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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