Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPlugin ¶
func RegisterPlugin(name string, constructor PluginConstructor)
Types ¶
type Args ¶
Args maps a string key to a list of values. It is similar to url.Values.
func ParsePluginOptions ¶
ParsePluginOptions Parse a name–value mapping as from SS_PLUGIN_OPTIONS.
"<value> is a k=v string value with options that are to be passed to the transport. semicolons, equal signs and backslashes must be escaped with a backslash." Example: secret=nou;cache=/tmp/cache;secret=yes
func (Args) Get ¶
Get the first value associated with the given key. If there are any values associated with the key, the value return has the value and ok is set to true. If there are no values for the given key, value is "" and ok is false. If you need access to multiple values, use the map directly.
Click to show internal directories.
Click to hide internal directories.