config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Type   string `json:"type"`
	Rules  []Rule `json:"rules"`
	Config string `json:"config"`
}

type RequestType

type RequestType string
const (
	RequestTypeBat       RequestType = "bat"
	RequestTypeWireguard RequestType = "wireguard"
	RequestTypeAmnezia   RequestType = "amnezia"
)

type Rule

type Rule struct {
	Value utils.Value `json:"value"`
	Type  string      `json:"type"`
}

Jump to

Keyboard shortcuts

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