mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Minor changes to storage framework script docs
This commit is contained in:
parent
69a1ad2c3d
commit
3ab83a3f74
2 changed files with 9 additions and 7 deletions
|
@ -6235,7 +6235,7 @@ export {
|
|||
TIMEOUT,
|
||||
## Connection to backed was lost unexpectedly.
|
||||
CONNECTION_LOST,
|
||||
## Generic operation failed.
|
||||
## Generic operation failure.
|
||||
OPERATION_FAILED,
|
||||
## Key requested was not found in backend.
|
||||
KEY_NOT_FOUND,
|
||||
|
@ -6258,10 +6258,12 @@ export {
|
|||
## One of a set of backend-redefinable return codes.
|
||||
code: ReturnCode;
|
||||
## An optional error string. This should be set when the
|
||||
## ``code`` field is not set ``SUCCESS``.
|
||||
## ``code`` field is not set to ``SUCCESS``.
|
||||
error_str: string &optional;
|
||||
## An optional value returned by ``get`` operations when a match
|
||||
## was found the key requested.
|
||||
## An optional value for operations that can return data. ``get``
|
||||
## operations uses this to return the value when a match was found
|
||||
## for the key requested. ``open_backend`` uses this to return the
|
||||
## backend handle on successful connections.
|
||||
value: any &optional;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -18,9 +18,9 @@ export {
|
|||
# ``server_host`` field must be unset.
|
||||
server_unix_socket: string &optional;
|
||||
|
||||
# Prefix used in key values stored to differentiate varying types of data
|
||||
# on the same server. Defaults to an empty string, but preferably should
|
||||
# be set to a unique value per Redis backend opened.
|
||||
# Prefix used in keys stored to differentiate varying types of data on the
|
||||
# same server. Defaults to an empty string, but preferably should be set
|
||||
# to a unique value per Redis backend opened.
|
||||
key_prefix: string &default="";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue