utils

package
v0.0.83 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEntriesFromTXTFiles added in v0.0.83

func GetEntriesFromTXTFiles(paths []string) ([]string, error)

GetEntriesFromTXTFiles returns a list of entries from a list of text files

func IsStaticAsset added in v0.0.83

func IsStaticAsset(url string) bool

IsStaticAsset returns true if the URL is a static asset, false otherwise

Types

type RequestMethodFlagData added in v0.0.83

type RequestMethodFlagData struct {
	RequestMethodEnum  common.RequestMethod
	HeadlessConfig     *common.HeadlessRequestConfig
	BrowserbaseConfig  *common.BrowserbaseRequestConfig
	BrowserbaseSecrets *common.BrowserbaseRequestSecrets
}

RequestMethodFlagData holds all the configuration related to request methods

func GetRequestMethodFlags added in v0.0.83

func GetRequestMethodFlags(cmd *cobra.Command) (*RequestMethodFlagData, error)

GetRequestMethodFlags extracts and validates all request method related configuration from a cobra command

Jump to

Keyboard shortcuts

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