MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / OptionsOption

Struct OptionsOption

internal/waf/checkpoints/option_options.go:5–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "github.com/iwind/TeaGo/maps"
4
5type OptionsOption struct {
6 Name string
7 Code string
8 Value string // default value
9 IsRequired bool
10 Size int
11 Comment string
12 RightLabel string
13 Validate func(value string) (ok bool, message string)
14 Options []maps.Map
15}
16
17func NewOptionsOption(name string, code string) *OptionsOption {
18 return &OptionsOption{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected