routes

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortmapAdmin

type PortmapAdmin struct{}

func (*PortmapAdmin) Create

func (a *PortmapAdmin) Create(ctx context.Context, instID int64, port int) (portmap *model.Portmap, err error)

func (*PortmapAdmin) Delete

func (a *PortmapAdmin) Delete(ctx context.Context, id int64) (err error)

func (*PortmapAdmin) List

func (a *PortmapAdmin) List(ctx context.Context, offset, limit int64, order, query string) (total int64, portmaps []*model.Portmap, err error)

type PortmapView

type PortmapView struct{}

func (*PortmapView) Create

func (v *PortmapView) Create(c *macaron.Context, store session.Store)

func (*PortmapView) Delete

func (v *PortmapView) Delete(c *macaron.Context, store session.Store) (err error)

func (*PortmapView) List

func (v *PortmapView) List(c *macaron.Context, store session.Store)

func (*PortmapView) New

func (v *PortmapView) New(c *macaron.Context, store session.Store)

Jump to

Keyboard shortcuts

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