response

package
v0.0.0-...-b35749e Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: GPL-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 Add

type Add struct {
	// contains filtered or unexported fields
}

func (Add) GetError

func (ctx Add) GetError() error

func (Add) GetType

func (ctx Add) GetType() device.DeviceCommandType

func (*Add) SetError

func (ctx *Add) SetError(err error)

type Get

type Get struct {
	// contains filtered or unexported fields
}

func GetFromRuleList

func GetFromRuleList(rules []firewallCommon.FirewallRule) (*Get, error)

func (*Get) AppendRule

func (ctx *Get) AppendRule(rule firewallCommon.FirewallRule)

func (Get) GetError

func (ctx Get) GetError() error

func (Get) GetRules

func (ctx Get) GetRules() []firewallCommon.FirewallRule

func (Get) GetType

func (ctx Get) GetType() device.DeviceCommandType

func (*Get) SetError

func (ctx *Get) SetError(err error)

type Remove

type Remove struct {
	// contains filtered or unexported fields
}

func (Remove) GetError

func (ctx Remove) GetError() error

func (Remove) GetType

func (ctx Remove) GetType() device.DeviceCommandType

func (*Remove) SetError

func (ctx *Remove) SetError(err error)

Jump to

Keyboard shortcuts

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