api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveBridge

type ActiveBridge struct {
	TransferRequestID int    `json:"transfer_request_id"`
	MountPath         string `json:"mount_path"`
	Pid               int    `json:"pid"`
}

type BridgeController

type BridgeController struct {
	// contains filtered or unexported fields
}

func NewBridgeController

func NewBridgeController(db *gorm.DB) *BridgeController

func (*BridgeController) ListActiveBridgesController

func (c *BridgeController) ListActiveBridgesController(ctx echo.Context) error

func (*BridgeController) StartBridgeController

func (c *BridgeController) StartBridgeController(ctx echo.Context) error

func (*BridgeController) StopBridgeController

func (c *BridgeController) StopBridgeController(ctx echo.Context) error

type StartBridgeRequest

type StartBridgeRequest struct {
	TransferRequestID int    `json:"transfer_request_id"`
	MountPath         string `json:"mount_path"`
	LogPath           string `json:"log_path"`
}

Jump to

Keyboard shortcuts

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