v2

package
v0.0.0-...-52204ac Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CidrRange

type CidrRange struct {
	Address string
	Length  uint32
	IpNet   *net.IPNet
}

CidrRange ...

func Create

func Create(address string, length uint32) *CidrRange

Create CidrRange

func (*CidrRange) IsInRange

func (c *CidrRange) IsInRange(ip net.IP) bool

IsInRange

type WasmPluginConfig

type WasmPluginConfig struct {
	PluginName  string        `json:"plugin_name,omitempty"`
	VmConfig    *WasmVmConfig `json:"vm_config,omitempty"`
	InstanceNum int           `json:"instance_num,omitempty"`
}

func (WasmPluginConfig) Clone

type WasmVmConfig

type WasmVmConfig struct {
	Engine string `json:"engine,omitempty"`
	Path   string `json:"path,omitempty"`
	Url    string `json:"url,omitempty"`
	Md5    string `json:"md5,omitempty"`
	Cpu    int    `json:"cpu,omitempty"`
	Mem    int    `json:"mem,omitempty"`
}

Jump to

Keyboard shortcuts

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