utils

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PluginBase64 = plugins.NewPlugin(getBase64cmd(), []string{"utils", "base64"})

Functions

func NewPluginWithFilePattern

func NewPluginWithFilePattern(cmdPath []string, flagName string, callback FileProcess, responseProcess ResponseProcess, serviceAssociated string) plugins.Plugin

Types

type FileProcess

type FileProcess func(cmd *cobra.Command, filesNames []string) (map[string]string, error)

type ResponseProcess

type ResponseProcess func(filesToValues map[string]string, response map[string]any) error

Jump to

Keyboard shortcuts

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