Documentation ¶
Index ¶
- Constants
- Variables
- func Accept_charset_lookup[T core.EdgeRuntime](ctx *core.Runtime[T], requestedCharsets, defaultValue, acceptHeader string) (string, error)
- func Accept_encoding_lookup[T core.EdgeRuntime](ctx *core.Runtime[T], ...) (string, error)
- func Accept_language_filter_basic[T core.EdgeRuntime](ctx *core.Runtime[T], lookup string, defaultValue string, language string, ...) (string, error)
- func Accept_language_lookup[T core.EdgeRuntime](ctx *core.Runtime[T], lookup, defaultValue, language string) (string, error)
- func Accept_media_lookup[T core.EdgeRuntime](ctx *core.Runtime[T], lookup, defaultValue, pattern, accept string) (string, error)
- func Addr_extract_bits[T core.EdgeRuntime](ctx *core.Runtime[T], ip net.IP, startBit, bitCount int64) (int64, error)
- func Addr_is_ipv4[T core.EdgeRuntime](ctx *core.Runtime[T], ip net.IP) (bool, error)
- func Addr_is_ipv6[T core.EdgeRuntime](ctx *core.Runtime[T], ip net.IP) (bool, error)
- func Bin_base64_to_hex[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Bin_hex_to_base64[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Boltsort_sort[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Crypto_decrypt_base64[T core.EdgeRuntime](ctx *core.Runtime[T], cipherId, mode, padding string, key, iv, text string) (string, error)
- func Crypto_decrypt_hex[T core.EdgeRuntime](ctx *core.Runtime[T], cipherId, mode, padding string, key, iv, text string) (string, error)
- func Crypto_encrypt_base64[T core.EdgeRuntime](ctx *core.Runtime[T], cipherId, mode, padding string, key, iv, text string) (string, error)
- func Crypto_encrypt_hex[T core.EdgeRuntime](ctx *core.Runtime[T], cipherId, mode, padding string, key, iv, text string) (string, error)
- func Cstr_escape[T core.EdgeRuntime](ctx *core.Runtime[T], str string) (string, error)
- func Digest_awsv4_hmac[T core.EdgeRuntime](ctx *core.Runtime[T], key, dateStamp, region, service, stringToSign string) (string, error)
- func Digest_base64[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_base64_decode[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_base64url[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_base64url_decode[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_base64url_nopad[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_base64url_nopad_decode[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_crc32[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_crc32b[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_md5[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_sha1[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_sha1_from_base64[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_sha224[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_sha256[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_sha256_from_base64[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_sha384[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_sha512[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hash_sha512_from_base64[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Digest_hmac_md5[T core.EdgeRuntime](ctx *core.Runtime[T], key, text string) (string, error)
- func Digest_hmac_md5_base64[T core.EdgeRuntime](ctx *core.Runtime[T], key, text string) (string, error)
- func Digest_hmac_sha1[T core.EdgeRuntime](ctx *core.Runtime[T], key, text string) (string, error)
- func Digest_hmac_sha1_base64[T core.EdgeRuntime](ctx *core.Runtime[T], key, text string) (string, error)
- func Digest_hmac_sha256[T core.EdgeRuntime](ctx *core.Runtime[T], key, text string) (string, error)
- func Digest_hmac_sha256_base64[T core.EdgeRuntime](ctx *core.Runtime[T], key, text string) (string, error)
- func Digest_hmac_sha512[T core.EdgeRuntime](ctx *core.Runtime[T], key, text string) (string, error)
- func Digest_hmac_sha512_base64[T core.EdgeRuntime](ctx *core.Runtime[T], key, text string) (string, error)
- func Digest_rsa_verify[T core.EdgeRuntime](ctx *core.Runtime[T], method string, publicKey, payload, digest string, ...) (bool, error)
- func Digest_secure_is_equal[T core.EdgeRuntime](ctx *core.Runtime[T], s1, s2 string) (bool, error)
- func Digest_time_hmac_md5[T core.EdgeRuntime](ctx *core.Runtime[T], secret string, interval, offset int64) (string, error)
- func Digest_time_hmac_sha1[T core.EdgeRuntime](ctx *core.Runtime[T], secret string, interval, offset int64) (string, error)
- func Digest_time_hmac_sha256[T core.EdgeRuntime](ctx *core.Runtime[T], secret string, interval, offset int64) (string, error)
- func Digest_time_hmac_sha512[T core.EdgeRuntime](ctx *core.Runtime[T], secret string, interval, offset int64) (string, error)
- func Early_hints[T core.EdgeRuntime](ctx *core.Runtime[T], resource string, optional ...string) error
- func Fastly_hash[T core.EdgeRuntime](ctx *core.Runtime[T], key string, seed, from, to int64) (int64, error)
- func H2_disable_header_compression[T core.EdgeRuntime](ctx *core.Runtime[T], optional ...string) error
- func H2_push[T core.EdgeRuntime](ctx *core.Runtime[T], resource string, optional ...string) error
- func H3_alt_svc[T core.EdgeRuntime](ctx *core.Runtime[T]) error
- func Header_filter[T core.EdgeRuntime](ctx *core.Runtime[T], where string, headers ...string) error
- func Header_filter_except[T core.EdgeRuntime](ctx *core.Runtime[T], where string, headers ...string) error
- func Header_get[T core.EdgeRuntime](ctx *core.Runtime[T], where string, name string) (string, error)
- func Header_set[T core.EdgeRuntime](ctx *core.Runtime[T], where string, name, value string) error
- func Header_unset[T core.EdgeRuntime](ctx *core.Runtime[T], where string, name string) error
- func Http_status_matches[T core.EdgeRuntime](ctx *core.Runtime[T], status int64, format string) (bool, error)
- func Json_escape[T core.EdgeRuntime](ctx *core.Runtime[T], str string) (string, error)
- func Json_escape_toUTF16SurrogatePair(r rune) []rune
- func Math_acos[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_acosh[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_asin[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_asinh[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_atan[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_atan2[T core.EdgeRuntime](ctx *core.Runtime[T], y, x float64) (float64, error)
- func Math_atanh[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_ceil[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_cos[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_cosh[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_exp[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_exp2[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_floor[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_is_finite[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (bool, error)
- func Math_is_infinite[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (bool, error)
- func Math_is_nan[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (bool, error)
- func Math_is_normal[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (bool, error)
- func Math_is_subnormal[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (bool, error)
- func Math_log[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_log10[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_log2[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_round[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_roundeven[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_roundhalfdown[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_roundhalfup[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_sin[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_sinh[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_sqrt[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_tan[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_tanh[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Math_trunc[T core.EdgeRuntime](ctx *core.Runtime[T], val float64) (float64, error)
- func Parse_time_delta[T core.EdgeRuntime](ctx *core.Runtime[T], specifier string) (int64, error)
- func Querystring_add[T core.EdgeRuntime](ctx *core.Runtime[T], url, name, value string) (string, error)
- func Querystring_clean[T core.EdgeRuntime](ctx *core.Runtime[T], url string) (string, error)
- func Querystring_filter[T core.EdgeRuntime](ctx *core.Runtime[T], url, names string) (string, error)
- func Querystring_filter_except[T core.EdgeRuntime](ctx *core.Runtime[T], url, names string) (string, error)
- func Querystring_filtersep[T core.EdgeRuntime](ctx *core.Runtime[T]) (string, error)
- func Querystring_get[T core.EdgeRuntime](ctx *core.Runtime[T], u, name string) (string, error)
- func Querystring_globfilter[T core.EdgeRuntime](ctx *core.Runtime[T], url, name string) (string, error)
- func Querystring_globfilter_except[T core.EdgeRuntime](ctx *core.Runtime[T], url, name string) (string, error)
- func Querystring_regfilter[T core.EdgeRuntime](ctx *core.Runtime[T], url, name string) (string, error)
- func Querystring_regfilter_except[T core.EdgeRuntime](ctx *core.Runtime[T], url, name string) (string, error)
- func Querystring_remove[T core.EdgeRuntime](ctx *core.Runtime[T], url string) (string, error)
- func Querystring_set[T core.EdgeRuntime](ctx *core.Runtime[T], url, name, value string) (string, error)
- func Querystring_sort[T core.EdgeRuntime](ctx *core.Runtime[T], url string) (string, error)
- func Randombool[T core.EdgeRuntime](ctx *core.Runtime[T], numerator, denominator int64) (bool, error)
- func Randombool_seeded[T core.EdgeRuntime](ctx *core.Runtime[T], numerator, denominator, seed int64) (bool, error)
- func Randomint[T core.EdgeRuntime](ctx *core.Runtime[T], from, to int64) (int64, error)
- func Randomint_seeded[T core.EdgeRuntime](ctx *core.Runtime[T], from, to, seed int64) (int64, error)
- func Randomstr[T core.EdgeRuntime](ctx *core.Runtime[T], length int64, optional ...string) (string, error)
- func Ratelimit_check_rate[T core.EdgeRuntime](ctx *core.Runtime[T], entry string, rc string, delta, window, limit int64, ...) (bool, error)
- func Ratelimit_check_rates[T core.EdgeRuntime](ctx *core.Runtime[T], entry string, rc1 string, delta1, window1, limit1 int64, ...) (bool, error)
- func Ratelimit_penaltybox_add[T core.EdgeRuntime](ctx *core.Runtime[T], pb string, entry string, ttl time.Time) error
- func Ratelimit_penaltybox_has[T core.EdgeRuntime](ctx *core.Runtime[T], pb string, entry string) (bool, error)
- func Ratelimit_ratecounter_increment[T core.EdgeRuntime](ctx *core.Runtime[T], rc string, entry string, delta int64) (int64, error)
- func Regsub[T core.EdgeRuntime](ctx *core.Runtime[T], input, pattern, replacement string) (string, error)
- func Regsub_convertGoExpandString(replacement string) (string, bool)
- func Regsuball[T core.EdgeRuntime](ctx *core.Runtime[T], input, pattern, replacement string) (string, error)
- func Resp_tarpit[T core.EdgeRuntime](ctx *core.Runtime[T], internalS int64, optional ...any) error
- func Setcookie_delete_by_name[T core.EdgeRuntime](ctx *core.Runtime[T], where string, name string) (bool, error)
- func Setcookie_get_value_by_name[T core.EdgeRuntime](ctx *core.Runtime[T], where string, name string) (string, error)
- func Std_anystr2ip[T core.EdgeRuntime](ctx *core.Runtime[T], addr, fallback string) (net.IP, error)
- func Std_anystr2ip_ParseIpv4(addr string) (net.IP, error)
- func Std_anystr2ip_ParseString(v string) (int64, error)
- func Std_atof[T core.EdgeRuntime](ctx *core.Runtime[T], val string) (float64, error)
- func Std_atoi[T core.EdgeRuntime](ctx *core.Runtime[T], val string) (int64, error)
- func Std_basename[T core.EdgeRuntime](ctx *core.Runtime[T], val string) (string, error)
- func Std_collect[T core.EdgeRuntime](ctx *core.Runtime[T], where string, optional ...string) error
- func Std_count[T core.EdgeRuntime](ctx *core.Runtime[T], headers string) (int64, error)
- func Std_dirname[T core.EdgeRuntime](ctx *core.Runtime[T], val string) (string, error)
- func Std_integer2time[T core.EdgeRuntime](ctx *core.Runtime[T], val int64) (time.Time, error)
- func Std_ip[T core.EdgeRuntime](ctx *core.Runtime[T], addr, fallback string) (net.IP, error)
- func Std_ip2str[T core.EdgeRuntime](ctx *core.Runtime[T], input net.IP) (string, error)
- func Std_itoa[T core.EdgeRuntime](ctx *core.Runtime[T], input int64, optional ...int64) (string, error)
- func Std_itoa_charset[T core.EdgeRuntime](ctx *core.Runtime[T], input int64, charsets string) (string, error)
- func Std_prefixof[T core.EdgeRuntime](ctx *core.Runtime[T], val, beginsWith string) (bool, error)
- func Std_replace[T core.EdgeRuntime](ctx *core.Runtime[T], input, target, replacement string) (string, error)
- func Std_replace_prefix[T core.EdgeRuntime](ctx *core.Runtime[T], input, target, replacement string) (string, error)
- func Std_replace_suffix[T core.EdgeRuntime](ctx *core.Runtime[T], input, target, replacement string) (string, error)
- func Std_replaceall[T core.EdgeRuntime](ctx *core.Runtime[T], input, target, replacement string) (string, error)
- func Std_str2ip[T core.EdgeRuntime](ctx *core.Runtime[T], addr, fallback string) (net.IP, error)
- func Std_strlen[T core.EdgeRuntime](ctx *core.Runtime[T], val string) (int64, error)
- func Std_strpad[T core.EdgeRuntime](ctx *core.Runtime[T], input string, width int64, pad string) (string, error)
- func Std_strrep[T core.EdgeRuntime](ctx *core.Runtime[T], input string, count int64) (string, error)
- func Std_strrev[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Std_strstr[T core.EdgeRuntime](ctx *core.Runtime[T], haystack, needle string) (string, error)
- func Std_strtof[T core.EdgeRuntime](ctx *core.Runtime[T], input string, base int64) (float64, error)
- func Std_strtof_Decimal(s string) (float64, error)
- func Std_strtof_Hex(s string) (float64, error)
- func Std_strtol[T core.EdgeRuntime](ctx *core.Runtime[T], input string, base int64) (int64, error)
- func Std_strtol_36(s string) (int64, error)
- func Std_strtol_Decimal(s string) (int64, error)
- func Std_strtol_Hex(s string) (int64, error)
- func Std_strtol_Octet(s string) (int64, error)
- func Std_strtol_Other(s string, base int64) (int64, error)
- func Std_suffixof[T core.EdgeRuntime](ctx *core.Runtime[T], input, suffix string) (bool, error)
- func Std_time[T core.EdgeRuntime](ctx *core.Runtime[T], input string, fallback time.Time) (time.Time, error)
- func Std_tolower[T core.EdgeRuntime](ctx *core.Runtime[T], val string) (string, error)
- func Std_toupper[T core.EdgeRuntime](ctx *core.Runtime[T], val string) (string, error)
- func Strftime[T core.EdgeRuntime](ctx *core.Runtime[T], format string, t time.Time) (string, error)
- func Strftime_ampm(t time.Time) string
- func Subfield[T core.EdgeRuntime](ctx *core.Runtime[T], subject, fieldName string, optional ...string) (string, error)
- func Substr[T core.EdgeRuntime](ctx *core.Runtime[T], input string, offset int64, optional ...int64) (string, error)
- func Table_contains[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string) (bool, error)
- func Table_lookup[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string, optional ...string) (string, error)
- func Table_lookup_EdgeDictionary(dictName, key, defaultValue string) (string, error)
- func Table_lookup_acl[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string, defaultAcl *vintage.Acl) (*vintage.Acl, error)
- func Table_lookup_backend[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string, defaultBackend *vintage.Backend) (*vintage.Backend, error)
- func Table_lookup_bool[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string, defaultValue bool) (bool, error)
- func Table_lookup_float[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string, defaultValue float64) (float64, error)
- func Table_lookup_integer[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string, defaultValue int64) (int64, error)
- func Table_lookup_ip[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string, defaultValue net.IP) (net.IP, error)
- func Table_lookup_rtime[T core.EdgeRuntime](ctx *core.Runtime[T], id string, key string, defaultValue time.Duration) (time.Duration, error)
- func Time_add[T core.EdgeRuntime](ctx *core.Runtime[T], t1 time.Time, t2 time.Duration) (time.Time, error)
- func Time_hex_to_time[T core.EdgeRuntime](ctx *core.Runtime[T], divisor int64, dividend string) (time.Time, error)
- func Time_is_after[T core.EdgeRuntime](ctx *core.Runtime[T], t1, t2 time.Time) (bool, error)
- func Time_runits[T core.EdgeRuntime](ctx *core.Runtime[T], unit string, rtime time.Duration) (string, error)
- func Time_sub[T core.EdgeRuntime](ctx *core.Runtime[T], t1 time.Time, rtime time.Duration) (time.Time, error)
- func Time_units[T core.EdgeRuntime](ctx *core.Runtime[T], unit string, t time.Time) (string, error)
- func Urldecode[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Urlencode[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
- func Utf8_codepoint_count[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (int64, error)
- func Utf8_is_valid[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (bool, error)
- func Utf8_strpad[T core.EdgeRuntime](ctx *core.Runtime[T], input string, width int64, pad string) (string, error)
- func Utf8_substr[T core.EdgeRuntime](ctx *core.Runtime[T], s string, offset int64, optional ...int64) (string, error)
- func Uuid_dns[T core.EdgeRuntime](ctx *core.Runtime[T]) (string, error)
- func Uuid_is_valid[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (bool, error)
- func Uuid_is_version3[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (bool, error)
- func Uuid_is_version4[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (bool, error)
- func Uuid_is_version5[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (bool, error)
- func Uuid_oid[T core.EdgeRuntime](ctx *core.Runtime[T]) (string, error)
- func Uuid_url[T core.EdgeRuntime](ctx *core.Runtime[T]) (string, error)
- func Uuid_version3[T core.EdgeRuntime](ctx *core.Runtime[T], ns, name string) (string, error)
- func Uuid_version4[T core.EdgeRuntime](ctx *core.Runtime[T]) (string, error)
- func Uuid_version5[T core.EdgeRuntime](ctx *core.Runtime[T], ns, name string) (string, error)
- func Uuid_x500[T core.EdgeRuntime](ctx *core.Runtime[T]) (string, error)
- func Xml_escape[T core.EdgeRuntime](ctx *core.Runtime[T], input string) (string, error)
Constants ¶
const ( // FastlyError string constant ErrEPASENUM = "EPARSENUM" ErrEDOM = "EDOM" ErrERANGE = "ERANGE" ErrEINVAL = "EINVAL" ErrEPOLE = "EPOLE" // Request/Response related constant RESP = "resp" REQ = "req" BEREQ = "bereq" BERESP = "beresp" OBJ = "obj" )
const Accept_charset_lookup_Name = "accept.charset_lookup"
const Accept_encoding_lookup_Name = "accept.encoding_lookup"
const Accept_language_filter_basic_Name = "accept.language_filter_basic"
const Accept_language_lookup_Name = "accept.language_lookup"
const Accept_media_lookup_Name = "accept.media_lookup"
const Addr_extract_bits_Name = "addr.extract_bits"
const Addr_is_ipv4_Name = "addr.is_ipv4"
const Addr_is_ipv6_Name = "addr.is_ipv6"
const Bin_base64_to_hex_Name = "bin.base64_to_hex"
const Bin_hex_to_base64_Name = "bin.hex_to_base64"
const Boltsort_sort_Name = "boltsort.sort"
const Crypto_decrypt_base64_Name = "crypto.decrypt_base64"
const Crypto_decrypt_hex_Name = "crypto.decrypt_hex"
const Crypto_encrypt_base64_Name = "crypto.encrypt_base64"
const Crypto_encrypt_hex_Name = "crypto.encrypt_hex"
const Cstr_escape_Name = "cstr_escape"
const Digest_awsv4_hmac_Name = "digest.awsv4_hmac"
const Digest_base64_Name = "digest.base64"
const Digest_base64_decode_Name = "digest.base64_decode"
const Digest_base64url_Name = "digest.base64url"
const Digest_base64url_decode_Name = "digest.base64url_decode"
const Digest_base64url_nopad_Name = "digest.base64url_nopad"
const Digest_base64url_nopad_decode_Name = "digest.base64url_nopad_decode"
const Digest_hash_crc32_Name = "digest.hash_crc32"
const Digest_hash_crc32b_Name = "digest.hash_crc32b"
const Digest_hash_md5_Name = "digest.hash_md5"
const Digest_hash_sha1_Name = "digest.hash_sha1"
const Digest_hash_sha1_from_base64_Name = "digest.hash_sha1_from_base64"
const Digest_hash_sha224_Name = "digest.hash_sha224"
const Digest_hash_sha256_Name = "digest.hash_sha256"
const Digest_hash_sha256_from_base64_Name = "digest.hash_sha256_from_base64"
const Digest_hash_sha384_Name = "digest.hash_sha384"
const Digest_hash_sha512_Name = "digest.hash_sha512"
const Digest_hash_sha512_from_base64_Name = "digest.hash_sha512_from_base64"
const Digest_hmac_md5_Name = "digest.hmac_md5"
const Digest_hmac_md5_base64_Name = "digest.hmac_md5_base64"
const Digest_hmac_sha1_Name = "digest.hmac_sha1"
const Digest_hmac_sha1_base64_Name = "digest.hmac_sha1_base64"
const Digest_hmac_sha256_Name = "digest.hmac_sha256"
const Digest_hmac_sha256_base64_Name = "digest.hmac_sha256_base64"
const Digest_hmac_sha512_Name = "digest.hmac_sha512"
const Digest_hmac_sha512_base64_Name = "digest.hmac_sha512_base64"
const Digest_rsa_verify_Name = "digest.rsa_verify"
const Digest_secure_is_equal_Name = "digest.secure_is_equal"
const Digest_time_hmac_md5_Name = "digest.time_hmac_md5"
const Digest_time_hmac_sha1_Name = "digest.time_hmac_sha1"
const Digest_time_hmac_sha256_Name = "digest.time_hmac_sha256"
const Digest_time_hmac_sha512_Name = "digest.time_hmac_sha512"
const Early_hints_Name = "early_hints"
const Fastly_hash_Name = "fastly.hash"
const H2_disable_header_compression_Name = "h2.disable_header_compression"
const H2_push_Name = "h2.push"
const H3_alt_svc_Name = "h3.alt_svc"
const Header_filter_Name = "header.filter"
const Header_filter_except_Name = "header.filter_except"
const Header_get_Name = "header.get"
const Header_set_Name = "header.set"
const Header_unset_Name = "header.unset"
const Http_status_matches_Name = "http_status_matches"
const Json_escape_Name = "json.escape"
const Math_acos_Name = "math.acos"
const Math_acosh_Name = "math.acosh"
const Math_asin_Name = "math.asin"
const Math_asinh_Name = "math.asinh"
const Math_atan2_Name = "math.atan2"
const Math_atan_Name = "math.atan"
const Math_atanh_Name = "math.atanh"
const Math_ceil_Name = "math.ceil"
const Math_cos_Name = "math.cos"
const Math_cosh_Name = "math.cosh"
const Math_exp2_Name = "math.exp2"
const Math_exp_Name = "math.exp"
const Math_floor_Name = "math.floor"
const Math_is_finite_Name = "math.is_finite"
const Math_is_infinite_Name = "math.is_infinite"
const Math_is_nan_Name = "math.is_nan"
const Math_is_normal_Name = "math.is_normal"
const Math_is_subnormal_Name = "math.is_subnormal"
const Math_log10_Name = "math.log10"
const Math_log2_Name = "math.log2"
const Math_log_Name = "math.log"
const Math_round_Name = "math.round"
const Math_roundeven_Name = "math.roundeven"
const Math_roundhalfdown_Name = "math.roundhalfdown"
const Math_roundhalfup_Name = "math.roundhalfup"
const Math_sin_Name = "math.sin"
const Math_sinh_Name = "math.sinh"
const Math_sqrt_Name = "math.sqrt"
const Math_tan_Name = "math.tan"
const Math_tanh_Name = "math.tanh"
const Math_trunc_Name = "math.trunc"
const Parse_time_delta_Name = "parse_time_delta"
const Querystring_add_Name = "querystring.add"
const Querystring_clean_Name = "querystring.clean"
const Querystring_filter_Name = "querystring.filter"
const Querystring_filter_except_Name = "querystring.filter_except"
const Querystring_filtersep_Name = "querystring.filtersep"
const Querystring_get_Name = "querystring.get"
const Querystring_globfilter_Name = "querystring.globfilter"
const Querystring_globfilter_except_Name = "querystring.globfilter_except"
const Querystring_regfilter_Name = "querystring.regfilter"
const Querystring_regfilter_except_Name = "querystring.regfilter_except"
const Querystring_remove_Name = "querystring.remove"
const Querystring_set_Name = "querystring.set"
const Querystring_sort_Name = "querystring.sort"
const Randombool_Name = "randombool"
const Randombool_seeded_Name = "randombool_seeded"
const Randomint_Name = "randomint"
const Randomint_seeded_Name = "randomint_seeded"
const Randomstr_Name = "randomstr"
const Ratelimit_check_rate_Name = "ratelimit.check_rate"
const Ratelimit_check_rates_Name = "ratelimit.check_rates"
const Ratelimit_penaltybox_add_Name = "ratelimit.penaltybox_add"
const Ratelimit_penaltybox_has_Name = "ratelimit.penaltybox_has"
const Ratelimit_ratecounter_increment_Name = "ratelimit.ratecounter_increment"
const Regsub_Name = "regsub"
const Regsuball_Name = "regsuball"
const Resp_tarpit_Name = "resp.tarpit"
const Std_anystr2ip_Name = "std.anystr2ip"
const Std_atof_Name = "std.atof"
const Std_atoi_Name = "std.atoi"
const Std_basename_Name = "std.basename"
const Std_collect_Name = "std.collect"
const Std_count_Name = "std.count"
const Std_dirname_Name = "std.dirname"
const Std_integer2time_Name = "std.integer2time"
const Std_ip2str_Name = "std.ip2str"
const Std_ip_Name = "std.ip"
const Std_itoa_Name = "std.itoa"
const Std_itoa_charset_Name = "std.itoa_charset"
const Std_prefixof_Name = "std.prefixof"
const Std_replace_Name = "std.replace"
const Std_replace_prefix_Name = "std.replace_prefix"
const Std_replace_suffix_Name = "std.replace_suffix"
const Std_replaceall_Name = "std.replaceall"
const Std_str2ip_Name = "std.str2ip"
const Std_strlen_Name = "std.strlen"
const Std_strpad_Name = "std.strpad"
const Std_strrep_Name = "std.strrep"
const Std_strrev_Name = "std.strrev"
const Std_strstr_Name = "std.strstr"
const Std_strtof_Name = "std.strtof"
const Std_strtol_Name = "std.strtol"
const Std_suffixof_Name = "std.suffixof"
const Std_time_Name = "std.time"
const Std_tolower_Name = "std.tolower"
const Std_toupper_Name = "std.toupper"
const Strftime_Name = "strftime"
const Subfield_Name = "subfield"
const Substr_Name = "substr"
const Table_contains_Name = "table.contains"
const Table_lookup_Name = "table.lookup"
const Table_lookup_acl_Name = "table.lookup_acl"
const Table_lookup_backend_Name = "table.lookup_backend"
const Table_lookup_bool_Name = "table.lookup_bool"
const Table_lookup_float_Name = "table.lookup_float"
const Table_lookup_integer_Name = "table.lookup_integer"
const Table_lookup_ip_Name = "table.lookup_ip"
const Table_lookup_rtime_Name = "table.lookup_rtime"
const Time_add_Name = "time.add"
const Time_hex_to_time_Name = "time.hex_to_time"
const Time_is_after_Name = "time.is_after"
const Time_runits_Name = "time.runits"
const Time_sub_Name = "time.sub"
const Time_units_Name = "time.units"
const Urldecode_Name = "urldecode"
const Urlencode_Name = "urlencode"
const Utf8_codepoint_count_Name = "utf8.codepoint_count"
const Utf8_is_valid_Name = "utf8.is_valid"
const Utf8_strpad_Name = "utf8.strpad"
const Utf8_substr_Name = "utf8.substr"
const Uuid_dns_Name = "uuid.dns"
const Uuid_is_valid_Name = "uuid.is_valid"
const Uuid_is_version3_Name = "uuid.is_version3"
const Uuid_is_version4_Name = "uuid.is_version4"
const Uuid_is_version5_Name = "uuid.is_version5"
const Uuid_oid_Name = "uuid.oid"
const Uuid_url_Name = "uuid.url"
const Uuid_version3_Name = "uuid.version3"
const Uuid_version4_Name = "uuid.version4"
const Uuid_version5_Name = "uuid.version5"
const Uuid_x500_Name = "uuid.x500"
const Xml_escape_Name = "xml_escape"
Variables ¶
var Cstr_escape_CharacterMap = map[byte][]byte{ 0x22: []byte("\""), 0x5C: []byte("\\"), 0x08: []byte("\\b"), 0x09: []byte("\\t"), 0x0A: []byte("\\n"), 0x0B: []byte("\\v"), 0x0D: []byte("\\r"), }
var Json_escape_CharacterMap = map[rune][]rune{ 0x22: []rune("\""), 0x5C: []rune("\\"), 0x08: []rune("\\b"), 0x09: []rune("\\t"), 0x0A: []rune("\\n"), 0x0C: []rune("\\f"), 0x0D: []rune("\\r"), }
var Querystring_filtersep_Sign = string([]byte{0xFF})
var Randomstr_default_characters = []rune(
"abcdedfhijklmnopqrstuvwxyzABCDEDFHIJKLMNOPQRSTUVWXYZ0123456789-_",
)
var Std_time_SupportFormats = []string{ time.RFC1123, time.RFC822, time.RFC850, time.ANSIC, "2006-01-02 15:04:05", }
var Strftime_weeks = map[string]int{
"Mon": 1,
"Tue": 2,
"Wed": 3,
"Thu": 4,
"Fri": 5,
"Sat": 6,
"Sun": 7,
}
Functions ¶
func Accept_charset_lookup ¶
func Accept_charset_lookup[T core.EdgeRuntime]( ctx *core.Runtime[T], requestedCharsets, defaultValue, acceptHeader string, ) (string, error)
Fastly built-in function implementation of accept.charset_lookup Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/content-negotiation/accept-charset-lookup/
func Accept_encoding_lookup ¶
func Accept_encoding_lookup[T core.EdgeRuntime]( ctx *core.Runtime[T], requestedContentEncodings, defaultValue, acceptHeader string, ) (string, error)
Fastly built-in function implementation of accept.encoding_lookup Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/content-negotiation/accept-encoding-lookup/
func Accept_language_filter_basic ¶
func Accept_language_filter_basic[T core.EdgeRuntime]( ctx *core.Runtime[T], lookup string, defaultValue string, language string, nmatches int64, ) (string, error)
Fastly built-in function implementation of accept.language_filter_basic Arguments may be: - STRING, STRING, STRING, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/content-negotiation/accept-language-filter-basic/
func Accept_language_lookup ¶
func Accept_language_lookup[T core.EdgeRuntime]( ctx *core.Runtime[T], lookup, defaultValue, language string, ) (string, error)
Fastly built-in function implementation of accept.language_lookup Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/content-negotiation/accept-language-lookup/
func Accept_media_lookup ¶
func Accept_media_lookup[T core.EdgeRuntime]( ctx *core.Runtime[T], lookup, defaultValue, pattern, accept string, ) (string, error)
Fastly built-in function implementation of accept.media_lookup Arguments may be: - STRING, STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/content-negotiation/accept-media-lookup/
func Addr_extract_bits ¶
func Addr_extract_bits[T core.EdgeRuntime]( ctx *core.Runtime[T], ip net.IP, startBit, bitCount int64, ) (int64, error)
Fastly built-in function implementation of addr.extract_bits Arguments may be: - IP, INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/addr-extract-bits/
func Addr_is_ipv4 ¶
Fastly built-in function implementation of addr.is_ipv4 Arguments may be: - IP Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/addr-is-ipv4/
func Addr_is_ipv6 ¶
Fastly built-in function implementation of addr.is_ipv6 Arguments may be: - IP Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/addr-is-ipv6/
func Bin_base64_to_hex ¶
Fastly built-in function implementation of bin.base64_to_hex Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/bin-base64-to-hex/
func Bin_hex_to_base64 ¶
Fastly built-in function implementation of bin.hex_to_base64 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/bin-hex-to-base64/
func Boltsort_sort ¶
Fastly built-in function implementation of boltsort.sort Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/boltsort-sort/
func Crypto_decrypt_base64 ¶
func Crypto_decrypt_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], cipherId, mode, padding string, key, iv, text string, ) (string, error)
Fastly built-in function implementation of crypto.decrypt_base64 Arguments may be: - ID, ID, ID, STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/crypto-decrypt-base64/
func Crypto_decrypt_hex ¶
func Crypto_decrypt_hex[T core.EdgeRuntime]( ctx *core.Runtime[T], cipherId, mode, padding string, key, iv, text string, ) (string, error)
Fastly built-in function implementation of crypto.decrypt_hex Arguments may be: - ID, ID, ID, STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/crypto-decrypt-hex/
func Crypto_encrypt_base64 ¶
func Crypto_encrypt_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], cipherId, mode, padding string, key, iv, text string, ) (string, error)
Fastly built-in function implementation of crypto.encrypt_base64 Arguments may be: - ID, ID, ID, STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/crypto-encrypt-base64/
func Crypto_encrypt_hex ¶
func Crypto_encrypt_hex[T core.EdgeRuntime]( ctx *core.Runtime[T], cipherId, mode, padding string, key, iv, text string, ) (string, error)
Fastly built-in function implementation of crypto.encrypt_hex Arguments may be: - ID, ID, ID, STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/crypto-encrypt-hex/
func Cstr_escape ¶
Fastly built-in function implementation of cstr_escape Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/cstr-escape/
func Digest_awsv4_hmac ¶
func Digest_awsv4_hmac[T core.EdgeRuntime]( ctx *core.Runtime[T], key, dateStamp, region, service, stringToSign string, ) (string, error)
Fastly built-in function implementation of digest.awsv4_hmac Arguments may be: - STRING, STRING, STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-awsv4-hmac/
func Digest_base64 ¶
Fastly built-in function implementation of digest.base64 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-base64/
func Digest_base64_decode ¶
func Digest_base64_decode[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, ) (string, error)
Fastly built-in function implementation of digest.base64_decode Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-base64-decode/
func Digest_base64url ¶
Fastly built-in function implementation of digest.base64url Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-base64url/
func Digest_base64url_decode ¶
func Digest_base64url_decode[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, ) (string, error)
Fastly built-in function implementation of digest.base64url_decode Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-base64url-decode/
func Digest_base64url_nopad ¶
func Digest_base64url_nopad[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, ) (string, error)
Fastly built-in function implementation of digest.base64url_nopad Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-base64url-nopad/
func Digest_base64url_nopad_decode ¶
func Digest_base64url_nopad_decode[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, ) (string, error)
Fastly built-in function implementation of digest.base64url_nopad_decode Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-base64url-nopad-decode/
func Digest_hash_crc32 ¶
Fastly built-in function implementation of digest.hash_crc32 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-crc32/
func Digest_hash_crc32b ¶
Fastly built-in function implementation of digest.hash_crc32b Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-crc32b/
func Digest_hash_md5 ¶
Fastly built-in function implementation of digest.hash_md5 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-md5/
func Digest_hash_sha1 ¶
Fastly built-in function implementation of digest.hash_sha1 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-sha1/
func Digest_hash_sha1_from_base64 ¶
func Digest_hash_sha1_from_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, ) (string, error)
Fastly built-in function implementation of digest.hash_sha1_from_base64 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-sha1-from-base64/
func Digest_hash_sha224 ¶
Fastly built-in function implementation of digest.hash_sha224 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-sha224/
func Digest_hash_sha256 ¶
Fastly built-in function implementation of digest.hash_sha256 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-sha256/
func Digest_hash_sha256_from_base64 ¶
func Digest_hash_sha256_from_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, ) (string, error)
Fastly built-in function implementation of digest.hash_sha256_from_base64 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-sha256-from-base64/
func Digest_hash_sha384 ¶
Fastly built-in function implementation of digest.hash_sha384 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-sha384/
func Digest_hash_sha512 ¶
Fastly built-in function implementation of digest.hash_sha512 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-sha512/
func Digest_hash_sha512_from_base64 ¶
func Digest_hash_sha512_from_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, ) (string, error)
Fastly built-in function implementation of digest.hash_sha512_from_base64 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hash-sha512-from-base64/
func Digest_hmac_md5 ¶
Fastly built-in function implementation of digest.hmac_md5 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hmac-md5/
func Digest_hmac_md5_base64 ¶
func Digest_hmac_md5_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], key, text string, ) (string, error)
Fastly built-in function implementation of digest.hmac_md5_base64 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hmac-md5-base64/
func Digest_hmac_sha1 ¶
func Digest_hmac_sha1[T core.EdgeRuntime]( ctx *core.Runtime[T], key, text string, ) (string, error)
Fastly built-in function implementation of digest.hmac_sha1 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hmac-sha1/
func Digest_hmac_sha1_base64 ¶
func Digest_hmac_sha1_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], key, text string, ) (string, error)
Fastly built-in function implementation of digest.hmac_sha1_base64 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hmac-sha1-base64/
func Digest_hmac_sha256 ¶
func Digest_hmac_sha256[T core.EdgeRuntime]( ctx *core.Runtime[T], key, text string, ) (string, error)
Fastly built-in function implementation of digest.hmac_sha256 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hmac-sha256/
func Digest_hmac_sha256_base64 ¶
func Digest_hmac_sha256_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], key, text string, ) (string, error)
Fastly built-in function implementation of digest.hmac_sha256_base64 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hmac-sha256-base64/
func Digest_hmac_sha512 ¶
func Digest_hmac_sha512[T core.EdgeRuntime]( ctx *core.Runtime[T], key, text string, ) (string, error)
Fastly built-in function implementation of digest.hmac_sha512 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hmac-sha512/
func Digest_hmac_sha512_base64 ¶
func Digest_hmac_sha512_base64[T core.EdgeRuntime]( ctx *core.Runtime[T], key, text string, ) (string, error)
Fastly built-in function implementation of digest.hmac_sha512_base64 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-hmac-sha512-base64/
func Digest_rsa_verify ¶
func Digest_rsa_verify[T core.EdgeRuntime]( ctx *core.Runtime[T], method string, publicKey, payload, digest string, optional ...string, ) (bool, error)
Fastly built-in function implementation of digest.rsa_verify Arguments may be: - ID, STRING, STRING, STRING, ID - ID, STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-rsa-verify/
func Digest_secure_is_equal ¶
func Digest_secure_is_equal[T core.EdgeRuntime]( ctx *core.Runtime[T], s1, s2 string, ) (bool, error)
Fastly built-in function implementation of digest.secure_is_equal Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-secure-is-equal/
func Digest_time_hmac_md5 ¶
func Digest_time_hmac_md5[T core.EdgeRuntime]( ctx *core.Runtime[T], secret string, interval, offset int64, ) (string, error)
Fastly built-in function implementation of digest.time_hmac_md5 Arguments may be: - STRING, INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-time-hmac-md5/
func Digest_time_hmac_sha1 ¶
func Digest_time_hmac_sha1[T core.EdgeRuntime]( ctx *core.Runtime[T], secret string, interval, offset int64, ) (string, error)
Fastly built-in function implementation of digest.time_hmac_sha1 Arguments may be: - STRING, INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-time-hmac-sha1/
func Digest_time_hmac_sha256 ¶
func Digest_time_hmac_sha256[T core.EdgeRuntime]( ctx *core.Runtime[T], secret string, interval, offset int64, ) (string, error)
Fastly built-in function implementation of digest.time_hmac_sha256 Arguments may be: - STRING, INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-time-hmac-sha256/
func Digest_time_hmac_sha512 ¶
func Digest_time_hmac_sha512[T core.EdgeRuntime]( ctx *core.Runtime[T], secret string, interval, offset int64, ) (string, error)
Fastly built-in function implementation of digest.time_hmac_sha512 Arguments may be: - STRING, INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/cryptographic/digest-time-hmac-sha512/
func Early_hints ¶
func Early_hints[T core.EdgeRuntime]( ctx *core.Runtime[T], resource string, optional ...string, ) error
Fastly built-in function implementation of early_hints Arguments may be: - STRING, STRING, ... Reference: https://developer.fastly.com/reference/vcl/functions/tls-and-http/early-hints/
func Fastly_hash ¶
func Fastly_hash[T core.EdgeRuntime]( ctx *core.Runtime[T], key string, seed, from, to int64, ) (int64, error)
Fastly built-in function implementation of fastly.hash Arguments may be: - STRING, INTEGER, INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/fastly-hash/
func H2_disable_header_compression ¶
func H2_disable_header_compression[T core.EdgeRuntime]( ctx *core.Runtime[T], optional ...string, ) error
Fastly built-in function implementation of h2.disable_header_compression Arguments may be: - STRING_LIST Reference: https://developer.fastly.com/reference/vcl/functions/tls-and-http/h2-disable-header-compression/
func H2_push ¶
func H2_push[T core.EdgeRuntime]( ctx *core.Runtime[T], resource string, optional ...string, ) error
Fastly built-in function implementation of h2.push Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/tls-and-http/h2-push/
func H3_alt_svc ¶
func H3_alt_svc[T core.EdgeRuntime](ctx *core.Runtime[T]) error
Fastly built-in function implementation of h3.alt_svc Arguments may be: Reference: https://developer.fastly.com/reference/vcl/functions/tls-and-http/h3-alt-svc/
func Header_filter ¶
func Header_filter[T core.EdgeRuntime]( ctx *core.Runtime[T], where string, headers ...string, ) error
Fastly built-in function implementation of header.filter Arguments may be: - ID, STRING_LIST Reference: https://developer.fastly.com/reference/vcl/functions/headers/header-filter/
func Header_filter_except ¶
func Header_filter_except[T core.EdgeRuntime]( ctx *core.Runtime[T], where string, headers ...string, ) error
Fastly built-in function implementation of header.filter_except Arguments may be: - ID, STRING_LIST Reference: https://developer.fastly.com/reference/vcl/functions/headers/header-filter-except/
func Header_get ¶
func Header_get[T core.EdgeRuntime]( ctx *core.Runtime[T], where string, name string, ) (string, error)
Fastly built-in function implementation of header.get Arguments may be: - ID, STRING Reference: https://developer.fastly.com/reference/vcl/functions/headers/header-get/
func Header_set ¶
func Header_set[T core.EdgeRuntime]( ctx *core.Runtime[T], where string, name, value string, ) error
Fastly built-in function implementation of header.set Arguments may be: - ID, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/headers/header-set/
func Header_unset ¶
Fastly built-in function implementation of header.unset Arguments may be: - ID, STRING Reference: https://developer.fastly.com/reference/vcl/functions/headers/header-unset/
func Http_status_matches ¶
func Http_status_matches[T core.EdgeRuntime]( ctx *core.Runtime[T], status int64, format string, ) (bool, error)
Fastly built-in function implementation of http_status_matches Arguments may be: - INTEGER, STRING Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/http-status-matches/
func Json_escape ¶
Fastly built-in function implementation of json.escape Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/json-escape/
func Json_escape_toUTF16SurrogatePair ¶
ref: http://www5d.biglobe.ne.jp/~noocyte/Programming/CharCode.html (JP)
func Math_acos ¶
Fastly built-in function implementation of math.acos Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-acos/
func Math_acosh ¶
Fastly built-in function implementation of math.acosh Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-acosh/
func Math_asin ¶
Fastly built-in function implementation of math.asin Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-asin/
func Math_asinh ¶
Fastly built-in function implementation of math.asinh Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-asinh/
func Math_atan ¶
Fastly built-in function implementation of math.atan Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-atan/
func Math_atan2 ¶
Fastly built-in function implementation of math.atan2 Arguments may be: - FLOAT, FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-atan2/
func Math_atanh ¶
Fastly built-in function implementation of math.atanh Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-atanh/
func Math_ceil ¶
Fastly built-in function implementation of math.ceil Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-rounding/math-ceil/
func Math_cos ¶
Fastly built-in function implementation of math.cos Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-cos/
func Math_cosh ¶
Fastly built-in function implementation of math.cosh Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-cosh/
func Math_exp ¶
Fastly built-in function implementation of math.exp Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-logexp/math-exp/
func Math_exp2 ¶
Fastly built-in function implementation of math.exp2 Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-logexp/math-exp2/
func Math_floor ¶
Fastly built-in function implementation of math.floor Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-rounding/math-floor/
func Math_is_finite ¶
Fastly built-in function implementation of math.is_finite Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/floating-point-classifications/math-is-finite/
func Math_is_infinite ¶
Fastly built-in function implementation of math.is_infinite Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/floating-point-classifications/math-is-infinite/
func Math_is_nan ¶
Fastly built-in function implementation of math.is_nan Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/floating-point-classifications/math-is-nan/
func Math_is_normal ¶
Fastly built-in function implementation of math.is_normal Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/floating-point-classifications/math-is-normal/
func Math_is_subnormal ¶
Fastly built-in function implementation of math.is_subnormal Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/floating-point-classifications/math-is-subnormal/
func Math_log ¶
Fastly built-in function implementation of math.log Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-logexp/math-log/
func Math_log10 ¶
Fastly built-in function implementation of math.log10 Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-logexp/math-log10/
func Math_log2 ¶
Fastly built-in function implementation of math.log2 Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-logexp/math-log2/
func Math_round ¶
Fastly built-in function implementation of math.round Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-rounding/math-round/
func Math_roundeven ¶
Fastly built-in function implementation of math.roundeven Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-rounding/math-roundeven/
func Math_roundhalfdown ¶
Fastly built-in function implementation of math.roundhalfdown Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-rounding/math-roundhalfdown/
func Math_roundhalfup ¶
Fastly built-in function implementation of math.roundhalfup Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-rounding/math-roundhalfup/
func Math_sin ¶
Fastly built-in function implementation of math.sin Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-sin/
func Math_sinh ¶
Fastly built-in function implementation of math.sinh Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-sinh/
func Math_sqrt ¶
Fastly built-in function implementation of math.sqrt Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-sqrt/
func Math_tan ¶
Fastly built-in function implementation of math.tan Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-tan/
func Math_tanh ¶
Fastly built-in function implementation of math.tanh Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-trig/math-tanh/
func Math_trunc ¶
Fastly built-in function implementation of math.trunc Arguments may be: - FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/math-rounding/math-trunc/
func Parse_time_delta ¶
Fastly built-in function implementation of parse_time_delta Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/parse-time-delta/
func Querystring_add ¶
func Querystring_add[T core.EdgeRuntime]( ctx *core.Runtime[T], url, name, value string, ) (string, error)
Fastly built-in function implementation of querystring.add Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-add/
func Querystring_clean ¶
Fastly built-in function implementation of querystring.clean Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-clean/
func Querystring_filter ¶
func Querystring_filter[T core.EdgeRuntime]( ctx *core.Runtime[T], url, names string, ) (string, error)
Fastly built-in function implementation of querystring.filter Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-filter/
func Querystring_filter_except ¶
func Querystring_filter_except[T core.EdgeRuntime]( ctx *core.Runtime[T], url, names string, ) (string, error)
Fastly built-in function implementation of querystring.filter_except Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-filter-except/
func Querystring_filtersep ¶
Fastly built-in function implementation of querystring.filtersep Arguments may be: Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-filtersep/
func Querystring_get ¶
Fastly built-in function implementation of querystring.get Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-get/
func Querystring_globfilter ¶
func Querystring_globfilter[T core.EdgeRuntime]( ctx *core.Runtime[T], url, name string, ) (string, error)
Fastly built-in function implementation of querystring.globfilter Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-globfilter/
func Querystring_globfilter_except ¶
func Querystring_globfilter_except[T core.EdgeRuntime]( ctx *core.Runtime[T], url, name string, ) (string, error)
Fastly built-in function implementation of querystring.globfilter_except Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-globfilter-except/
func Querystring_regfilter ¶
func Querystring_regfilter[T core.EdgeRuntime]( ctx *core.Runtime[T], url, name string, ) (string, error)
Fastly built-in function implementation of querystring.regfilter Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-regfilter/
func Querystring_regfilter_except ¶
func Querystring_regfilter_except[T core.EdgeRuntime]( ctx *core.Runtime[T], url, name string, ) (string, error)
Fastly built-in function implementation of querystring.regfilter_except Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-regfilter-except/
func Querystring_remove ¶
Fastly built-in function implementation of querystring.remove Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-remove/
func Querystring_set ¶
func Querystring_set[T core.EdgeRuntime]( ctx *core.Runtime[T], url, name, value string, ) (string, error)
Fastly built-in function implementation of querystring.set Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-set/
func Querystring_sort ¶
Fastly built-in function implementation of querystring.sort Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/query-string/querystring-sort/
func Randombool ¶
func Randombool[T core.EdgeRuntime]( ctx *core.Runtime[T], numerator, denominator int64, ) (bool, error)
Fastly built-in function implementation of randombool Arguments may be: - INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/randomness/randombool/
func Randombool_seeded ¶
func Randombool_seeded[T core.EdgeRuntime]( ctx *core.Runtime[T], numerator, denominator, seed int64, ) (bool, error)
Fastly built-in function implementation of randombool_seeded Arguments may be: - INTEGER, INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/randomness/randombool-seeded/
func Randomint ¶
Fastly built-in function implementation of randomint Arguments may be: - INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/randomness/randomint/
func Randomint_seeded ¶
func Randomint_seeded[T core.EdgeRuntime]( ctx *core.Runtime[T], from, to, seed int64, ) (int64, error)
Fastly built-in function implementation of randomint_seeded Arguments may be: - INTEGER, INTEGER, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/randomness/randomint-seeded/
func Randomstr ¶
func Randomstr[T core.EdgeRuntime]( ctx *core.Runtime[T], length int64, optional ...string, ) (string, error)
Fastly built-in function implementation of randomstr Arguments may be: - INTEGER - INTEGER, STRING Reference: https://developer.fastly.com/reference/vcl/functions/randomness/randomstr/
func Ratelimit_check_rate ¶
func Ratelimit_check_rate[T core.EdgeRuntime]( ctx *core.Runtime[T], entry string, rc string, delta, window, limit int64, pb string, ttl time.Time, ) (bool, error)
Fastly built-in function implementation of ratelimit.check_rate Arguments may be: - STRING, ID, INTEGER, INTEGER, INTEGER, ID, TIME Reference: https://developer.fastly.com/reference/vcl/functions/rate-limiting/ratelimit-check-rate/
func Ratelimit_check_rates ¶
func Ratelimit_check_rates[T core.EdgeRuntime]( ctx *core.Runtime[T], entry string, rc1 string, delta1, window1, limit1 int64, rc2 string, delta2, window2, limit2 int64, pb string, ttl time.Time, ) (bool, error)
Fastly built-in function implementation of ratelimit.check_rates Arguments may be: - STRING, ID, INTEGER, INTEGER, INTEGER, ID, INTEGER, INTEGER, INTEGER, ID, TIME Reference: https://developer.fastly.com/reference/vcl/functions/rate-limiting/ratelimit-check-rates/
func Ratelimit_penaltybox_add ¶
func Ratelimit_penaltybox_add[T core.EdgeRuntime]( ctx *core.Runtime[T], pb string, entry string, ttl time.Time, ) error
Fastly built-in function implementation of ratelimit.penaltybox_add Arguments may be: - ID, STRING, TIME Reference: https://developer.fastly.com/reference/vcl/functions/rate-limiting/ratelimit-penaltybox-add/
func Ratelimit_penaltybox_has ¶
func Ratelimit_penaltybox_has[T core.EdgeRuntime]( ctx *core.Runtime[T], pb string, entry string, ) (bool, error)
Fastly built-in function implementation of ratelimit.penaltybox_has Arguments may be: - ID, STRING Reference: https://developer.fastly.com/reference/vcl/functions/rate-limiting/ratelimit-penaltybox-has/
func Ratelimit_ratecounter_increment ¶
func Ratelimit_ratecounter_increment[T core.EdgeRuntime]( ctx *core.Runtime[T], rc string, entry string, delta int64, ) (int64, error)
Fastly built-in function implementation of ratelimit.ratecounter_increment Arguments may be: - ID, STRING, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/rate-limiting/ratelimit-ratecounter-increment/
func Regsub ¶
func Regsub[T core.EdgeRuntime]( ctx *core.Runtime[T], input, pattern, replacement string, ) (string, error)
Fastly built-in function implementation of regsub Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/regsub/
func Regsuball ¶
func Regsuball[T core.EdgeRuntime]( ctx *core.Runtime[T], input, pattern, replacement string, ) (string, error)
Fastly built-in function implementation of regsuball Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/regsuball/
func Resp_tarpit ¶
func Resp_tarpit[T core.EdgeRuntime]( ctx *core.Runtime[T], internalS int64, optional ...any, ) error
Fastly built-in function implementation of resp.tarpit Arguments may be: - INTEGER, INTEGER - INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/resp-tarpit/
func Setcookie_delete_by_name ¶
func Setcookie_delete_by_name[T core.EdgeRuntime]( ctx *core.Runtime[T], where string, name string, ) (bool, error)
Fastly built-in function implementation of setcookie.delete_by_name Arguments may be: - ID, STRING Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/setcookie-delete-by-name/
func Setcookie_get_value_by_name ¶
func Setcookie_get_value_by_name[T core.EdgeRuntime]( ctx *core.Runtime[T], where string, name string, ) (string, error)
Fastly built-in function implementation of setcookie.get_value_by_name Arguments may be: - ID, STRING Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/setcookie-get-value-by-name/
func Std_anystr2ip ¶
func Std_anystr2ip[T core.EdgeRuntime]( ctx *core.Runtime[T], addr, fallback string, ) (net.IP, error)
Fastly built-in function implementation of std.anystr2ip Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-anystr2ip/
func Std_atof ¶
Fastly built-in function implementation of std.atof Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-atof/
func Std_atoi ¶
Fastly built-in function implementation of std.atoi Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-atoi/
func Std_basename ¶
Fastly built-in function implementation of std.basename Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-basename/
func Std_collect ¶
func Std_collect[T core.EdgeRuntime]( ctx *core.Runtime[T], where string, optional ...string, ) error
Fastly built-in function implementation of std.collect Arguments may be: - ID - ID, STRING Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/std-collect/
func Std_count ¶
Fastly built-in function implementation of std.count Arguments may be: - ID Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/std-count/
func Std_dirname ¶
Fastly built-in function implementation of std.dirname Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-dirname/
func Std_integer2time ¶
Fastly built-in function implementation of std.integer2time Arguments may be: - INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/std-integer2time/
func Std_ip ¶
Fastly built-in function implementation of std.ip Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-ip/
func Std_ip2str ¶
Fastly built-in function implementation of std.ip2str Arguments may be: - IP Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-ip2str/
func Std_itoa ¶
func Std_itoa[T core.EdgeRuntime]( ctx *core.Runtime[T], input int64, optional ...int64, ) (string, error)
Fastly built-in function implementation of std.itoa Arguments may be: - INTEGER, INTEGER - INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-itoa/
func Std_itoa_charset ¶
func Std_itoa_charset[T core.EdgeRuntime]( ctx *core.Runtime[T], input int64, charsets string, ) (string, error)
Fastly built-in function implementation of std.itoa_charset Arguments may be: - INTEGER, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-itoa-charset/
func Std_prefixof ¶
func Std_prefixof[T core.EdgeRuntime]( ctx *core.Runtime[T], val, beginsWith string, ) (bool, error)
Fastly built-in function implementation of std.prefixof Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-prefixof/
func Std_replace ¶
func Std_replace[T core.EdgeRuntime]( ctx *core.Runtime[T], input, target, replacement string, ) (string, error)
Fastly built-in function implementation of std.replace Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-replace/
func Std_replace_prefix ¶
func Std_replace_prefix[T core.EdgeRuntime]( ctx *core.Runtime[T], input, target, replacement string, ) (string, error)
Fastly built-in function implementation of std.replace_prefix Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-replace-prefix/
func Std_replace_suffix ¶
func Std_replace_suffix[T core.EdgeRuntime]( ctx *core.Runtime[T], input, target, replacement string, ) (string, error)
Fastly built-in function implementation of std.replace_suffix Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-replace-suffix/
func Std_replaceall ¶
func Std_replaceall[T core.EdgeRuntime]( ctx *core.Runtime[T], input, target, replacement string, ) (string, error)
Fastly built-in function implementation of std.replaceall Arguments may be: - STRING, STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-replaceall/
func Std_str2ip ¶
Fastly built-in function implementation of std.str2ip Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-str2ip/
func Std_strlen ¶
Fastly built-in function implementation of std.strlen Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-strlen/
func Std_strpad ¶
func Std_strpad[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, width int64, pad string, ) (string, error)
Fastly built-in function implementation of std.strpad Arguments may be: - STRING, INTEGER, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-strpad/
func Std_strrep ¶
func Std_strrep[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, count int64, ) (string, error)
Fastly built-in function implementation of std.strrep Arguments may be: - STRING, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-strrep/
func Std_strrev ¶
Fastly built-in function implementation of std.strrev Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-strrev/
func Std_strstr ¶
func Std_strstr[T core.EdgeRuntime]( ctx *core.Runtime[T], haystack, needle string, ) (string, error)
Fastly built-in function implementation of std.strstr Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-strstr/
func Std_strtof ¶
func Std_strtof[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, base int64, ) (float64, error)
Fastly built-in function implementation of std.strtof Arguments may be: - STRING, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-strtof/
func Std_strtof_Decimal ¶
func Std_strtof_Hex ¶
func Std_strtol ¶
func Std_strtol[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, base int64, ) (int64, error)
Fastly built-in function implementation of std.strtol Arguments may be: - STRING, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-strtol/
func Std_strtol_36 ¶
Special case: base 36 number could present "x" as number. So hex string like "0xABC" should treat as "xABC"
func Std_strtol_Decimal ¶
func Std_strtol_Hex ¶
func Std_strtol_Octet ¶
func Std_suffixof ¶
Fastly built-in function implementation of std.suffixof Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-suffixof/
func Std_time ¶
func Std_time[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, fallback time.Time, ) (time.Time, error)
Fastly built-in function implementation of std.time Arguments may be: - STRING, TIME Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/std-time/
func Std_tolower ¶
Fastly built-in function implementation of std.tolower Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-tolower/
func Std_toupper ¶
Fastly built-in function implementation of std.toupper Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/std-toupper/
func Strftime ¶
func Strftime[T core.EdgeRuntime]( ctx *core.Runtime[T], format string, t time.Time, ) (string, error)
Fastly built-in function implementation of strftime Arguments may be: - STRING, TIME Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/strftime/ nolint:funlen,gocognit,gocyclo,ineffassign
func Strftime_ampm ¶
Golang's time format of AM treats noon as AM, but it should be PM in VCL.
func Subfield ¶
func Subfield[T core.EdgeRuntime]( ctx *core.Runtime[T], subject, fieldName string, optional ...string, ) (string, error)
Fastly built-in function implementation of subfield Arguments may be: - STRING, STRING, STRING - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/miscellaneous/subfield/
func Substr ¶
func Substr[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, offset int64, optional ...int64, ) (string, error)
Fastly built-in function implementation of substr Arguments may be: - STRING, INTEGER, INTEGER - STRING, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/strings/substr/
func Table_contains ¶
func Table_contains[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, ) (bool, error)
Fastly built-in function implementation of table.contains Arguments may be: - TABLE, STRING Reference: https://developer.fastly.com/reference/vcl/functions/table/table-contains/
func Table_lookup ¶
func Table_lookup[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, optional ...string, ) (string, error)
Fastly built-in function implementation of table.lookup Arguments may be: - TABLE, STRING, STRING - TABLE, STRING Reference: https://developer.fastly.com/reference/vcl/functions/table/table-lookup/
func Table_lookup_acl ¶
func Table_lookup_acl[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, defaultAcl *vintage.Acl, ) (*vintage.Acl, error)
Fastly built-in function implementation of table.lookup_acl Arguments may be: - TABLE, STRING, ACL Reference: https://developer.fastly.com/reference/vcl/functions/table/table-lookup-acl/
func Table_lookup_backend ¶
func Table_lookup_backend[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, defaultBackend *vintage.Backend, ) (*vintage.Backend, error)
Fastly built-in function implementation of table.lookup_backend Arguments may be: - TABLE, STRING, BACKEND Reference: https://developer.fastly.com/reference/vcl/functions/table/table-lookup-backend/
func Table_lookup_bool ¶
func Table_lookup_bool[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, defaultValue bool, ) (bool, error)
Fastly built-in function implementation of table.lookup_bool Arguments may be: - TABLE, STRING, BOOL Reference: https://developer.fastly.com/reference/vcl/functions/table/table-lookup-bool/
func Table_lookup_float ¶
func Table_lookup_float[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, defaultValue float64, ) (float64, error)
Fastly built-in function implementation of table.lookup_float Arguments may be: - TABLE, STRING, FLOAT Reference: https://developer.fastly.com/reference/vcl/functions/table/table-lookup-float/
func Table_lookup_integer ¶
func Table_lookup_integer[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, defaultValue int64, ) (int64, error)
Fastly built-in function implementation of table.lookup_integer Arguments may be: - TABLE, STRING, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/table/table-lookup-integer/
func Table_lookup_ip ¶
func Table_lookup_ip[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, defaultValue net.IP, ) (net.IP, error)
Fastly built-in function implementation of table.lookup_ip Arguments may be: - TABLE, STRING, IP Reference: https://developer.fastly.com/reference/vcl/functions/table/table-lookup-ip/
func Table_lookup_rtime ¶
func Table_lookup_rtime[T core.EdgeRuntime]( ctx *core.Runtime[T], id string, key string, defaultValue time.Duration, ) (time.Duration, error)
Fastly built-in function implementation of table.lookup_rtime Arguments may be: - TABLE, STRING, RTIME Reference: https://developer.fastly.com/reference/vcl/functions/table/table-lookup-rtime/
func Time_add ¶
func Time_add[T core.EdgeRuntime]( ctx *core.Runtime[T], t1 time.Time, t2 time.Duration, ) (time.Time, error)
Fastly built-in function implementation of time.add Arguments may be: - TIME, RTIME Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/time-add/
func Time_hex_to_time ¶
func Time_hex_to_time[T core.EdgeRuntime]( ctx *core.Runtime[T], divisor int64, dividend string, ) (time.Time, error)
Fastly built-in function implementation of time.hex_to_time Arguments may be: - INTEGER, STRING Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/time-hex-to-time/
func Time_is_after ¶
Fastly built-in function implementation of time.is_after Arguments may be: - TIME, TIME Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/time-is-after/
func Time_runits ¶
func Time_runits[T core.EdgeRuntime]( ctx *core.Runtime[T], unit string, rtime time.Duration, ) (string, error)
Fastly built-in function implementation of time.runits Arguments may be: - STRING, RTIME Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/time-runits/
func Time_sub ¶
func Time_sub[T core.EdgeRuntime]( ctx *core.Runtime[T], t1 time.Time, rtime time.Duration, ) (time.Time, error)
Fastly built-in function implementation of time.sub Arguments may be: - TIME, RTIME Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/time-sub/
func Time_units ¶
func Time_units[T core.EdgeRuntime]( ctx *core.Runtime[T], unit string, t time.Time, ) (string, error)
Fastly built-in function implementation of time.units Arguments may be: - STRING, TIME Reference: https://developer.fastly.com/reference/vcl/functions/date-and-time/time-units/
func Urldecode ¶
Fastly built-in function implementation of urldecode Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/urldecode/
func Urlencode ¶
Fastly built-in function implementation of urlencode Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/urlencode/
func Utf8_codepoint_count ¶
Fastly built-in function implementation of utf8.codepoint_count Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/utf8-codepoint-count/
func Utf8_is_valid ¶
Fastly built-in function implementation of utf8.is_valid Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/utf8-is-valid/
func Utf8_strpad ¶
func Utf8_strpad[T core.EdgeRuntime]( ctx *core.Runtime[T], input string, width int64, pad string, ) (string, error)
Fastly built-in function implementation of utf8.strpad Arguments may be: - STRING, INTEGER, STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/utf8-strpad/
func Utf8_substr ¶
func Utf8_substr[T core.EdgeRuntime]( ctx *core.Runtime[T], s string, offset int64, optional ...int64, ) (string, error)
Fastly built-in function implementation of utf8.substr Arguments may be: - STRING, INTEGER, INTEGER - STRING, INTEGER Reference: https://developer.fastly.com/reference/vcl/functions/strings/utf8-substr/
func Uuid_dns ¶
Fastly built-in function implementation of uuid.dns Arguments may be: Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-dns/
func Uuid_is_valid ¶
Fastly built-in function implementation of uuid.is_valid Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-is-valid/
func Uuid_is_version3 ¶
Fastly built-in function implementation of uuid.is_version3 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-is-version3/
func Uuid_is_version4 ¶
Fastly built-in function implementation of uuid.is_version4 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-is-version4/
func Uuid_is_version5 ¶
Fastly built-in function implementation of uuid.is_version5 Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-is-version5/
func Uuid_oid ¶
Fastly built-in function implementation of uuid.oid Arguments may be: Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-oid/
func Uuid_url ¶
Fastly built-in function implementation of uuid.url Arguments may be: Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-url/
func Uuid_version3 ¶
Fastly built-in function implementation of uuid.version3 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-version3/
func Uuid_version4 ¶
Fastly built-in function implementation of uuid.version4 Arguments may be: Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-version4/
func Uuid_version5 ¶
Fastly built-in function implementation of uuid.version5 Arguments may be: - STRING, STRING Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-version5/
func Uuid_x500 ¶
Fastly built-in function implementation of uuid.x500 Arguments may be: Reference: https://developer.fastly.com/reference/vcl/functions/uuid/uuid-x500/
func Xml_escape ¶
Fastly built-in function implementation of xml_escape Arguments may be: - STRING Reference: https://developer.fastly.com/reference/vcl/functions/strings/xml-escape/
Types ¶
This section is empty.
Source Files ¶
- accept_charset_lookup.go
- accept_encoding_lookup.go
- accept_language_filter_basic.go
- accept_language_lookup.go
- accept_media_lookup.go
- addr_extract_bits.go
- addr_is_ipv4.go
- addr_is_ipv6.go
- bin_base64_to_hex.go
- bin_hex_to_base64.go
- boltsort_sort.go
- constant.go
- crypto_decrypt_base64.go
- crypto_decrypt_hex.go
- crypto_encrypt_base64.go
- crypto_encrypt_hex.go
- cstr_escape.go
- digest_awsv4_hmac.go
- digest_base64.go
- digest_base64_decode.go
- digest_base64url.go
- digest_base64url_decode.go
- digest_base64url_nopad.go
- digest_base64url_nopad_decode.go
- digest_hash_crc32.go
- digest_hash_crc32b.go
- digest_hash_md5.go
- digest_hash_sha1.go
- digest_hash_sha1_from_base64.go
- digest_hash_sha224.go
- digest_hash_sha256.go
- digest_hash_sha256_from_base64.go
- digest_hash_sha384.go
- digest_hash_sha512.go
- digest_hash_sha512_from_base64.go
- digest_hmac_md5.go
- digest_hmac_md5_base64.go
- digest_hmac_sha1.go
- digest_hmac_sha1_base64.go
- digest_hmac_sha256.go
- digest_hmac_sha256_base64.go
- digest_hmac_sha512.go
- digest_hmac_sha512_base64.go
- digest_rsa_verify.go
- digest_secure_is_equal.go
- digest_time_hmac_md5.go
- digest_time_hmac_sha1.go
- digest_time_hmac_sha256.go
- digest_time_hmac_sha512.go
- early_hints.go
- fastly_hash.go
- h2_disable_header_compression.go
- h2_push.go
- h3_alt_svc.go
- header_filter.go
- header_filter_except.go
- header_get.go
- header_set.go
- header_unset.go
- http_status_matches.go
- json_escape.go
- math_acos.go
- math_acosh.go
- math_asin.go
- math_asinh.go
- math_atan.go
- math_atan2.go
- math_atanh.go
- math_ceil.go
- math_cos.go
- math_cosh.go
- math_exp.go
- math_exp2.go
- math_floor.go
- math_is_finite.go
- math_is_infinite.go
- math_is_nan.go
- math_is_normal.go
- math_is_subnormal.go
- math_log.go
- math_log10.go
- math_log2.go
- math_round.go
- math_roundeven.go
- math_roundhalfdown.go
- math_roundhalfup.go
- math_sin.go
- math_sinh.go
- math_sqrt.go
- math_tan.go
- math_tanh.go
- math_trunc.go
- parse_time_delta.go
- querystring_add.go
- querystring_clean.go
- querystring_filter.go
- querystring_filter_except.go
- querystring_filtersep.go
- querystring_get.go
- querystring_globfilter.go
- querystring_globfilter_except.go
- querystring_regfilter.go
- querystring_regfilter_except.go
- querystring_remove.go
- querystring_set.go
- querystring_sort.go
- randombool.go
- randombool_seeded.go
- randomint.go
- randomint_seeded.go
- randomstr.go
- ratelimit_check_rate.go
- ratelimit_check_rates.go
- ratelimit_penaltybox_add.go
- ratelimit_penaltybox_has.go
- ratelimit_ratecounter_increment.go
- regsub.go
- regsuball.go
- resp_tarpit.go
- setcookie_delete_by_name.go
- setcookie_get_value_by_name.go
- std_anystr2ip.go
- std_atof.go
- std_atoi.go
- std_basename.go
- std_collect.go
- std_count.go
- std_dirname.go
- std_integer2time.go
- std_ip.go
- std_ip2str.go
- std_itoa.go
- std_itoa_charset.go
- std_prefixof.go
- std_replace.go
- std_replace_prefix.go
- std_replace_suffix.go
- std_replaceall.go
- std_str2ip.go
- std_strlen.go
- std_strpad.go
- std_strrep.go
- std_strrev.go
- std_strstr.go
- std_strtof.go
- std_strtol.go
- std_suffixof.go
- std_time.go
- std_tolower.go
- std_toupper.go
- strftime.go
- subfield.go
- substr.go
- table_contains.go
- table_lookup.go
- table_lookup_acl.go
- table_lookup_backend.go
- table_lookup_bool.go
- table_lookup_float.go
- table_lookup_integer.go
- table_lookup_ip.go
- table_lookup_rtime.go
- time_add.go
- time_hex_to_time.go
- time_is_after.go
- time_runits.go
- time_sub.go
- time_units.go
- urldecode.go
- urlencode.go
- utf8_codepoint_count.go
- utf8_is_valid.go
- utf8_strpad.go
- utf8_substr.go
- uuid_dns.go
- uuid_is_valid.go
- uuid_is_version3.go
- uuid_is_version4.go
- uuid_is_version5.go
- uuid_oid.go
- uuid_url.go
- uuid_version3.go
- uuid_version4.go
- uuid_version5.go
- uuid_x500.go
- xml_escape.go