api_server

package
v0.0.0-...-aa40251 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMW

func AuthMW() gin.HandlerFunc

func CORS

func CORS() gin.HandlerFunc

func CreateSaves

func CreateSaves(c *gin.Context)

func CreateUser

func CreateUser(c *gin.Context)

func DelSaved

func DelSaved(c *gin.Context)

func DeleteDevice

func DeleteDevice(c *gin.Context)

func EditSaved

func EditSaved(c *gin.Context)

func GetDevices

func GetDevices(c *gin.Context)

func GetNodeInfo

func GetNodeInfo(c *gin.Context)

func GetSaved

func GetSaved(c *gin.Context)

func GetSaves

func GetSaves(c *gin.Context)

func GetVersion

func GetVersion(c *gin.Context)

func IPFSAddFiles

func IPFSAddFiles(c *gin.Context)

func LinkDir

func LinkDir(c *gin.Context)

func ListDir

func ListDir(c *gin.Context)

func ListDirs

func ListDirs(c *gin.Context)

func Login

func Login(c *gin.Context)

func MKDir

func MKDir(c *gin.Context)

func MVDir

func MVDir(c *gin.Context)

func RMDir

func RMDir(c *gin.Context)

func RenameDir

func RenameDir(c *gin.Context)

func Run

func Run() error

func UnlinkDir

func UnlinkDir(c *gin.Context)

Types

type Version

type Version struct {
	Versions string `json:"versions"`
}

Jump to

Keyboard shortcuts

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