package
0.0.6
Repository: https://github.com/nandoxscr/popon-core.git
Documentation: pkg.go.dev

# Functions

DeobfuscateValueSpec reconstitutes an obfuscated spec.
GetContentType selects a value based on the previously set spec, or returns a default when no spec is set.
GetCookieName selects a value based on the previously set spec, or returns a default when no spec is set.
GetHostName selects a value based on the previously set spec, or returns a default when no spec is set.
GetRevision gets the previously set revision.
GetSSHClientVersion selects a value based on the previously set spec, or returns a default when no spec is set.
GetSSHServerVersion selects a value based on the previously set spec, or returns a default when no spec is set.
GetUserAgent selects a value based on the previously set spec, or returns a default when no spec is set.
NewPickOneSpec creates a simple spec to select one item from a list as a value.
SetContentTypesSpec sets the corresponding value spec.
SetCookieNamesSpec sets the corresponding value spec.
SetHostNamesSpec sets the corresponding value spec.
SetRevision set the revision value, which may be used to track which value specs are active.
SetSSHClientVersionsSpec sets the corresponding value spec.
SetSSHServerVersionsSpec sets the corresponding value spec.
SetUserAgentsSpec sets the corresponding value spec.

# Structs

No description provided by the author
ValueSpec specifies a value selection space.