webservice

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rule

type Rule struct {
	Method   string
	Path     string
	Function fiber.Handler
	Option   []route.Option
}

func Delete

func Delete(path string, function fiber.Handler, option ...route.Option) Rule

func Get

func Get(path string, function fiber.Handler, option ...route.Option) Rule

func Post

func Post(path string, function fiber.Handler, option ...route.Option) Rule

func Put

func Put(path string, function fiber.Handler, option ...route.Option) Rule

func (Rule) ID added in v0.30.1

func (r Rule) ID() string

func (Rule) TYPE added in v0.30.1

func (r Rule) TYPE() types.RulesetType

type Ruleset

type Ruleset []Rule

Jump to

Keyboard shortcuts

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