package
Version:
v0.5.1
Opens a new window with list of versions in this module.
Published: Jul 8, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
State represents a collection of parameters.
DecodeState deserializes a base64-encoded BSON string back into a State.
NewState creates a new State from the given parameters.
Encode serializes the State to a base64-encoded BSON string.
Extend adds or updates a parameter in the State.
Get retrieves the value for a given key, returning an empty string if not found.
Has checks if a parameter with the given key exists in the State.
Len returns the length of the State (implements sort.Interface).
Less compares two elements for sorting (implements sort.Interface).
Sorts by Key first, then by Value if Keys are equal.
Swap swaps two elements in the State (implements sort.Interface).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.