Help us shape the future of Go! Take the 2026 Go Developer Survey

handler

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilStatus       = errors.New("nil status or unknown error")
	ErrAssertFailure   = errors.New("assert spite type failure")
	ErrNilResponseBody = errors.New("must return spite body")
)

Functions

func AssertRequestName

func AssertRequestName(req *implantpb.Request, expect types.MsgName) error

func AssertResponse

func AssertResponse(spite *implantpb.Spite, expect types.MsgName) error

func AssertStatusAndResponse

func AssertStatusAndResponse(spite *implantpb.Spite, expect types.MsgName) error

func HandleMaleficError

func HandleMaleficError(content *implantpb.Spite) error

func HandleTaskError

func HandleTaskError(status *implantpb.Status) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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