utils

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeActionState added in v1.0.0

func DecodeActionState[T any](attackState action_kit_api.ActionState, result *T) error

func EncodeActionState added in v1.0.0

func EncodeActionState[T any](attackState T) (error, action_kit_api.ActionState)

func File2Base64 added in v1.0.0

func File2Base64(file string) (string, error)

func RemoveAtIndex added in v1.0.0

func RemoveAtIndex[T any](s []T, index int) []T

func WriteActionState added in v1.0.0

func WriteActionState[T any](w http.ResponseWriter, state T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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