client

package
v0.0.0-...-d923f3c Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientAPP

type ClientAPP struct {
	ServerIP   string
	ServerPort string
}

func (*ClientAPP) BlockXDP

func (app *ClientAPP) BlockXDP(action string, src string, timeout uint) (string, error)

func (*ClientAPP) FlushBlockedXDP

func (app *ClientAPP) FlushBlockedXDP() (string, error)

func (*ClientAPP) FlushStatusXDP

func (app *ClientAPP) FlushStatusXDP() (string, error)

func (*ClientAPP) LoadXDP

func (app *ClientAPP) LoadXDP(interfaces string, mode string) (string, error)

func (*ClientAPP) StatusXDP

func (app *ClientAPP) StatusXDP() (string, error)

func (*ClientAPP) UnloadXDP

func (app *ClientAPP) UnloadXDP(interfaces string) (string, error)

type ErrorStatusMessage

type ErrorStatusMessage struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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