bench

package
v0.0.0-...-5c2e7a1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: EUPL-1.2 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddModule

func AddModule(c *gin.Context)

AddModule adds a module to the currently active bench

func Create

func Create(c *gin.Context)

Create inserts a new bench

func Current

func Current(c *gin.Context)

Current redirects to the users active bench

func Delete

func Delete(c *gin.Context)

Delete a bench

func Explore

func Explore(c *gin.Context)

Explore modules page

func ExploreOwn

func ExploreOwn(c *gin.Context)

ExploreOwn modules page

func Fork

func Fork(c *gin.Context)

Fork a bench, this only copies it to the current user as we don't have any versioning (yet)

func ListUser

func ListUser(c *gin.Context)

ListUser lists all Benches belonging to a User

func Merge

func Merge(c *gin.Context)

Merge a bench into a new kicad project

func RemoveModule

func RemoveModule(c *gin.Context)

RemoveModule removes a module from the currently active bench

func SetActive

func SetActive(c *gin.Context)

SetActive sets the requested bench as active and inactivates all the others

func Update

func Update(c *gin.Context)

Update a bench

func View

func View(c *gin.Context)

View a Bench

func ViewUpdate

func ViewUpdate(c *gin.Context)

ViewUpdate is the same as view but renders the update form for a bench

Types

type ExploreBench

type ExploreBench struct {
	ID          string
	UserID      string
	DisplayName string
	Name        string
	Description string
}

ExploreBench struct

Jump to

Keyboard shortcuts

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