plugin

package
v3.0.28 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contexts added in v3.0.24

func Contexts(vars option.VarsType) (result []*option.VarType)

func DownloadFile added in v3.0.24

func DownloadFile(vars option.VarsType) *option.VarType

func Error

func Error(vars option.VarsType) *option.VarType

func IsContext

func IsContext(v *option.VarType) bool

func IsError

func IsError(v *option.VarType) bool

func IsFileDownloadType added in v3.0.24

func IsFileDownloadType(i interface{}) bool

func LenWithoutContexts added in v3.0.24

func LenWithoutContexts(vars option.VarsType) int

func LenWithoutErrors added in v3.0.24

func LenWithoutErrors(vars option.VarsType) int

func PathVars added in v3.0.20

func PathVars(path string) (map[string]string, error)

Types

type VarType

type VarType struct {
	Param      *option.VarType
	Value      string
	IsRequired bool
}

func FindParam

func FindParam(p *option.VarType, vars []string) (VarType, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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