Documentation ¶
Overview ¶
Package core contains basic utility functions.
*
## ## ######## ## ## ####### ######## ######## ######## ######## ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ###### ## ## ## ## ## ######## ## ## ###### ######## ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ### ### ####### ## ## ######## ######## ## ##
"NewOrder" - Reverse Proxy SE "CHANGE THE WORLD..." Copyright 2022 (C) NEMESIS. neworder@tutamail.com. All rights reserved.
*
*
## ## ######## ## ## ####### ######## ######## ######## ######## ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ###### ## ## ## ## ## ######## ## ## ###### ######## ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ### ### ####### ## ## ######## ######## ## ##
"NewOrder" - Reverse Proxy SE "CHANGE THE WORLD..." Copyright 2022 (C) NEMESIS. neworder@tutamail.com. All rights reserved.
*
*
## ## ######## ## ## ####### ######## ######## ######## ######## ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ###### ## ## ## ## ## ######## ## ## ###### ######## ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ### ### ####### ## ## ######## ######## ## ##
"NewOrder" - Reverse Proxy SE "CHANGE THE WORLD..." Copyright 2022 (C) NEMESIS. neworder@tutamail.com. All rights reserved.
*
Index ¶
Constants ¶
const ( Name = "New Order" Version = "1.0" Author = "NEMESIS" Website = "https://neworder-changetheworld/" Banner = `` /* 4120-byte string literal not displayed */ )
Variables ¶
var ErrInterrupt = errors.New("^C")
Functions ¶
func StringContains ¶
StringContains checks if a string is contained in a slice of strings
Types ¶
type Options ¶
func ParseOptions ¶
type Values ¶
Values maps a string key to a list of values. It is typically used for query parameters and form values. Unlike in the http.Header map, the keys in a Values map are case-sensitive.
func ParseQuery ¶
ParseQuery parses the URL-encoded query string and returns a map listing the values specified for each key. ParseQuery always returns a non-nil map containing all the valid query parameters found; err describes the first decoding error encountered, if any.
Query is expected to be a list of key=value settings separated by ampersands. A setting without an equals sign is interpreted as a key set to an empty value. Settings containing a non-URL-encoded semicolon are considered invalid.