Documentation
¶
Index ¶
- func Device(res logicModel.DeviceOutput) model.Device
- func Product(res logicModel.DetailProductOutput) model.Product
- func Server(ctx context.Context, res *logicModel.NetworkServerOut) model.Server
- func StrToPointInterfaceWithError(str string, a interface{}) error
- func StrToPointInterfaceWithoutError(ctx context.Context, str string, a interface{})
- func Tunnel(ctx context.Context, res logicModel.NetworkTunnelOut) model.Tunnel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Device ¶
func Device(res logicModel.DeviceOutput) model.Device
func Product ¶
func Product(res logicModel.DetailProductOutput) model.Product
func Server ¶
func Server(ctx context.Context, res *logicModel.NetworkServerOut) model.Server
Server Server todo 需要处理下心跳和注册包,需要考虑到客户端可能不支持心跳或者注册包
func Tunnel ¶
func Tunnel(ctx context.Context, res logicModel.NetworkTunnelOut) model.Tunnel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.