mappings

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMapping

func AddMapping(c fiber.Ctx) error

func DeleteMapping

func DeleteMapping(c fiber.Ctx) error

func EditSources

func EditSources(c fiber.Ctx) error

func View

func View(c fiber.Ctx) error

Types

type MappingForm

type MappingForm struct {
	Label      string `form:"label" validate:"max=20"`
	MACAddress string `form:"mac_address" validate:"required,mac_address" transform:"trim,upper"`
	IPAddress  string `form:"ip_address" validate:"required,ip_address"`
}

type SourceForm

type SourceForm struct {
	MACAddresses string `form:"source_mac_addresses"  validate:"omitempty,mac_address_list" transform:"trim,upper"`
}

Jump to

Keyboard shortcuts

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