package
Version:
v1.0.7-alpha.2
Opens a new window with list of versions in this module.
Published: Jun 10, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CustomData interface {
CustomDataPtr() interface{}
EncodeFromCustomData(customDataPtr interface{}, stdDataPtr *Data)
DecodeToCustomData(stdDataPtr *Data, customDataPtr interface{})
}
CustomData is kv's custom data handler.
type CustomInParams interface {
CustomInParamsPtr() interface{}
EncodeFromCustomInParams(customInParamsPtr interface{}, stdInParamsPtr *cptype.ExtraMap)
DecodeToCustomInParams(stdInParamsPtr *cptype.ExtraMap, customInParamsPtr interface{})
}
CustomInParams is kv's custom inParams handler.
type CustomState interface {
CustomStatePtr() interface{}
EncodeFromCustomState(customStatePtr interface{}, stdStatePtr *cptype.ExtraMap)
DecodeToCustomState(stdStatePtr *cptype.ExtraMap, customStatePtr interface{})
}
CustomState is kv's custom state handler.
type Data struct {
List []*KV `json:"list"`
}
Data includes list.
type IKVStdOps interface{}
IKVStdOps .
type KV struct {
Key string `json:"key"`
SubKey string `json:"subKey"`
Value string `json:"value"`
SubValue string `json:"subValue"`
Tip string `json:"tip"`
}
KV defined struct.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.