Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallbackHandler ¶
type CallbackHandler interface { // 备用状态 Standby() bool // Redis 实例 *redis.Client Redis() any // Telent 消息处理 Telent(command string) string // SNMP 消息处理 SNMP(oid, operType string, value any) any // Config 网元配置消息处理 // action 操作行为 C/U/R/D Create(创建)、Update(更新)、Read(读取)、Delete(删除) // paramName 参数名称 // loc 定位符 list为空字符 array使用与数据对象内index一致,有多层时划分嵌套层(index/subParamName/index) // paramValue 参数值 Config(action, paramName, loc string, paramValue any) error }
外部回调接口
Click to show internal directories.
Click to hide internal directories.