Documentation ¶
Index ¶
- Constants
- Variables
- func BodyBytes(body interface{}) ([]byte, error)
- func EncodeNmpPlain(nmr *NmpMsg) ([]byte, error)
- func LogEntryTypeToString(LogType LogEntryType) string
- func LogLevelToString(lm int) string
- func LogModuleToString(lm int) string
- func LogTypeToString(lm int) string
- func RegisterResponseHandler(ogi Ogi, f rspCtor)
- type ConfigReadReq
- type ConfigReadRsp
- type ConfigWriteReq
- type ConfigWriteRsp
- type CoreEraseReq
- type CoreEraseRsp
- type CoreListReq
- type CoreListRsp
- type CoreLoadReq
- type CoreLoadRsp
- type CrashReq
- type CrashRsp
- type DateTimeReadReq
- type DateTimeReadRsp
- type DateTimeWriteReq
- type DateTimeWriteRsp
- type Dispatcher
- func (d *Dispatcher) AddListener(seq uint8) (*Listener, error)
- func (d *Dispatcher) Dispatch(data []byte) bool
- func (d *Dispatcher) DispatchRsp(r NmpRsp) bool
- func (d *Dispatcher) ErrorAll(err error)
- func (d *Dispatcher) ErrorOne(seq uint8, err error) error
- func (d *Dispatcher) RemoveListener(seq uint8) *Listener
- type EchoReq
- type EchoRsp
- type FsDownloadReq
- type FsDownloadRsp
- type FsUploadReq
- type FsUploadRsp
- type ImageEraseReq
- type ImageEraseRsp
- type ImageStateEntry
- type ImageStateReadReq
- type ImageStateRsp
- type ImageStateWriteReq
- type ImageUploadReq
- type ImageUploadRsp
- type Listener
- type LogClearReq
- type LogClearRsp
- type LogEntry
- type LogEntryType
- type LogLevelListReq
- type LogLevelListRsp
- type LogListReq
- type LogListRsp
- type LogModuleListReq
- type LogModuleListRsp
- type LogShowLog
- type LogShowReq
- type LogShowRsp
- type MempoolStatReq
- type MempoolStatRsp
- type NmpBase
- type NmpHdr
- type NmpMsg
- type NmpReq
- type NmpRsp
- type Ogi
- type Reassembler
- type ResetReq
- type ResetRsp
- type RunListReq
- type RunListRsp
- type RunTestReq
- type RunTestRsp
- type ShellExecReq
- type ShellExecRsp
- type SplitStatus
- type StatListReq
- type StatListRsp
- type StatReadReq
- type StatReadRsp
- type TaskStatReq
- type TaskStatRsp
Constants ¶
View Source
const ( NMP_OP_READ = 0 NMP_OP_READ_RSP = 1 NMP_OP_WRITE = 2 NMP_OP_WRITE_RSP = 3 )
View Source
const ( NMP_ERR_OK = 0 NMP_ERR_EUNKNOWN = 1 NMP_ERR_ENOMEM = 2 NMP_ERR_EINVAL = 3 NMP_ERR_ETIMEOUT = 4 NMP_ERR_ENOENT = 5 )
View Source
const ( NMP_GROUP_DEFAULT = 0 NMP_GROUP_IMAGE = 1 NMP_GROUP_STAT = 2 NMP_GROUP_CONFIG = 3 NMP_GROUP_LOG = 4 NMP_GROUP_CRASH = 5 NMP_GROUP_SPLIT = 6 NMP_GROUP_RUN = 7 NMP_GROUP_FS = 8 NMP_GROUP_SHELL = 9 NMP_GROUP_PERUSER = 64 )
View Source
const ( NMP_ID_DEF_ECHO = 0 NMP_ID_DEF_CONS_ECHO_CTRL = 1 NMP_ID_DEF_TASKSTAT = 2 NMP_ID_DEF_MPSTAT = 3 NMP_ID_DEF_DATETIME_STR = 4 NMP_ID_DEF_RESET = 5 )
Default group (0).
View Source
const ( NMP_ID_IMAGE_STATE = 0 NMP_ID_IMAGE_UPLOAD = 1 NMP_ID_IMAGE_CORELIST = 3 NMP_ID_IMAGE_CORELOAD = 4 NMP_ID_IMAGE_ERASE = 5 )
Image group (1).
View Source
const ( NMP_ID_STAT_READ = 0 NMP_ID_STAT_LIST = 1 )
Stat group (2).
View Source
const ( NMP_ID_LOG_SHOW = 0 NMP_ID_LOG_CLEAR = 1 NMP_ID_LOG_APPEND = 2 NMP_ID_LOG_MODULE_LIST = 3 NMP_ID_LOG_LEVEL_LIST = 4 NMP_ID_LOG_LIST = 5 )
Log group (4).
View Source
const ( NMP_ID_RUN_TEST = 0 NMP_ID_RUN_LIST = 1 )
Run group (7).
View Source
const ( LEVEL_DEBUG int = 0 LEVEL_INFO = 1 LEVEL_WARN = 2 LEVEL_ERROR = 3 LEVEL_CRITICAL = 4 /* Upto 7 custom loglevels */ LEVEL_MAX = 255 )
View Source
const ( STREAM_LOG int = 0 MEMORY_LOG = 1 STORAGE_LOG = 2 )
View Source
const ( MODULE_DEFAULT int = 0 MODULE_OS = 1 MODULE_NEWTMGR = 2 MODULE_NIMBLE_CTLR = 3 MODULE_NIMBLE_HOST = 4 MODULE_NFFS = 5 MODULE_REBOOT = 6 MODULE_TEST = 8 MODULE_MAX = 255 )
View Source
const ( LOG_ENTRY_TYPE_STRING LogEntryType = 0 LOG_ENTRY_TYPE_CBOR = 1 LOG_ENTRY_TYPE_BINARY = 2 )
View Source
const NMP_HDR_SIZE = 8
View Source
const (
NMP_ID_CONFIG_VAL = 0
)
Config group (3).
View Source
const (
NMP_ID_CRASH_TRIGGER = 0
)
Crash group (5).
View Source
const (
NMP_ID_FS_FILE = 0
)
File system group (8).
View Source
const (
NMP_ID_SHELL_EXEC = 0
)
Shell group (8).
Variables ¶
View Source
var LogEntryTypeStringMap = map[LogEntryType]string{ LOG_ENTRY_TYPE_STRING: "str", LOG_ENTRY_TYPE_CBOR: "cbor", LOG_ENTRY_TYPE_BINARY: "bin", }
View Source
var LogLevelNameMap = map[int]string{ LEVEL_DEBUG: "DEBUG", LEVEL_INFO: "INFO", LEVEL_WARN: "WARN", LEVEL_ERROR: "ERROR", LEVEL_CRITICAL: "CRITICAL", }
View Source
var LogModuleNameMap = map[int]string{ MODULE_DEFAULT: "DEFAULT", MODULE_OS: "OS", MODULE_NEWTMGR: "NEWTMGR", MODULE_NIMBLE_CTLR: "NIMBLE_CTLR", MODULE_NIMBLE_HOST: "NIMBLE_HOST", MODULE_NFFS: "NFFS", MODULE_REBOOT: "REBOOT", MODULE_TEST: "TEST", }
View Source
var LogTypeNameMap = map[int]string{ STREAM_LOG: "STREAM", MEMORY_LOG: "MEMORY", STORAGE_LOG: "STORAGE", }
Functions ¶
func EncodeNmpPlain ¶
func LogEntryTypeToString ¶
func LogEntryTypeToString(LogType LogEntryType) string
func LogLevelToString ¶
func LogModuleToString ¶
func LogTypeToString ¶
func RegisterResponseHandler ¶
func RegisterResponseHandler(ogi Ogi, f rspCtor)
Types ¶
type ConfigReadReq ¶
func NewConfigReadReq ¶
func NewConfigReadReq() *ConfigReadReq
func (*ConfigReadReq) Msg ¶
func (r *ConfigReadReq) Msg() *NmpMsg
type ConfigReadRsp ¶
func NewConfigReadRsp ¶
func NewConfigReadRsp() *ConfigReadRsp
func (*ConfigReadRsp) Msg ¶
func (r *ConfigReadRsp) Msg() *NmpMsg
type ConfigWriteReq ¶
type ConfigWriteReq struct { NmpBase `codec:"-"` Name string `codec:"name,omitempty"` Val string `codec:"val,omitempty"` Save bool `codec:"save,omitempty"` }
func NewConfigWriteReq ¶
func NewConfigWriteReq() *ConfigWriteReq
func (*ConfigWriteReq) Msg ¶
func (r *ConfigWriteReq) Msg() *NmpMsg
type ConfigWriteRsp ¶
func NewConfigWriteRsp ¶
func NewConfigWriteRsp() *ConfigWriteRsp
func (*ConfigWriteRsp) Msg ¶
func (r *ConfigWriteRsp) Msg() *NmpMsg
type CoreEraseReq ¶
type CoreEraseReq struct {
NmpBase `codec:"-"`
}
func NewCoreEraseReq ¶
func NewCoreEraseReq() *CoreEraseReq
func (*CoreEraseReq) Msg ¶
func (r *CoreEraseReq) Msg() *NmpMsg
type CoreEraseRsp ¶
func NewCoreEraseRsp ¶
func NewCoreEraseRsp() *CoreEraseRsp
func (*CoreEraseRsp) Msg ¶
func (r *CoreEraseRsp) Msg() *NmpMsg
type CoreListReq ¶
type CoreListReq struct {
NmpBase `codec:"-"`
}
func NewCoreListReq ¶
func NewCoreListReq() *CoreListReq
func (*CoreListReq) Msg ¶
func (r *CoreListReq) Msg() *NmpMsg
type CoreListRsp ¶
func NewCoreListRsp ¶
func NewCoreListRsp() *CoreListRsp
func (*CoreListRsp) Msg ¶
func (r *CoreListRsp) Msg() *NmpMsg
type CoreLoadReq ¶
func NewCoreLoadReq ¶
func NewCoreLoadReq() *CoreLoadReq
func (*CoreLoadReq) Msg ¶
func (r *CoreLoadReq) Msg() *NmpMsg
type CoreLoadRsp ¶
type CoreLoadRsp struct { NmpBase Rc int `codec:"rc"` Off uint32 `codec:"off"` Len uint32 `codec:"len"` Data []byte `codec:"data"` }
func NewCoreLoadRsp ¶
func NewCoreLoadRsp() *CoreLoadRsp
func (*CoreLoadRsp) Msg ¶
func (r *CoreLoadRsp) Msg() *NmpMsg
type CrashReq ¶
func NewCrashReq ¶
func NewCrashReq() *CrashReq
type CrashRsp ¶
func NewCrashRsp ¶
func NewCrashRsp() *CrashRsp
type DateTimeReadReq ¶
type DateTimeReadReq struct {
NmpBase `codec:"-"`
}
func NewDateTimeReadReq ¶
func NewDateTimeReadReq() *DateTimeReadReq
func (*DateTimeReadReq) Msg ¶
func (r *DateTimeReadReq) Msg() *NmpMsg
type DateTimeReadRsp ¶
func NewDateTimeReadRsp ¶
func NewDateTimeReadRsp() *DateTimeReadRsp
func (*DateTimeReadRsp) Msg ¶
func (r *DateTimeReadRsp) Msg() *NmpMsg
type DateTimeWriteReq ¶
func NewDateTimeWriteReq ¶
func NewDateTimeWriteReq() *DateTimeWriteReq
func (*DateTimeWriteReq) Msg ¶
func (r *DateTimeWriteReq) Msg() *NmpMsg
type DateTimeWriteRsp ¶
func NewDateTimeWriteRsp ¶
func NewDateTimeWriteRsp() *DateTimeWriteRsp
func (*DateTimeWriteRsp) Msg ¶
func (r *DateTimeWriteRsp) Msg() *NmpMsg
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
The dispatcher is the owner of the listeners it points to. Only the dispatcher writes to these listeners.
func NewDispatcher ¶
func NewDispatcher(logDepth int) *Dispatcher
func (*Dispatcher) AddListener ¶
func (d *Dispatcher) AddListener(seq uint8) (*Listener, error)
func (*Dispatcher) Dispatch ¶
func (d *Dispatcher) Dispatch(data []byte) bool
Returns true if the response was dispatched.
func (*Dispatcher) DispatchRsp ¶
func (d *Dispatcher) DispatchRsp(r NmpRsp) bool
Returns true if the response was dispatched.
func (*Dispatcher) ErrorAll ¶
func (d *Dispatcher) ErrorAll(err error)
func (*Dispatcher) RemoveListener ¶
func (d *Dispatcher) RemoveListener(seq uint8) *Listener
type EchoReq ¶
func NewEchoReq ¶
func NewEchoReq() *EchoReq
type EchoRsp ¶
func NewEchoRsp ¶
func NewEchoRsp() *EchoRsp
type FsDownloadReq ¶
type FsDownloadReq struct { NmpBase `codec:"-"` Name string `codec:"name"` Off uint32 `codec:"off"` }
func NewFsDownloadReq ¶
func NewFsDownloadReq() *FsDownloadReq
func (*FsDownloadReq) Msg ¶
func (r *FsDownloadReq) Msg() *NmpMsg
type FsDownloadRsp ¶
type FsDownloadRsp struct { NmpBase Rc int `codec:"rc"` Off uint32 `codec:"off"` Len uint32 `codec:"len"` Data []byte `codec:"data"` }
func NewFsDownloadRsp ¶
func NewFsDownloadRsp() *FsDownloadRsp
func (*FsDownloadRsp) Msg ¶
func (r *FsDownloadRsp) Msg() *NmpMsg
type FsUploadReq ¶
type FsUploadReq struct { NmpBase `codec:"-"` Name string `codec:"name"` Len uint32 `codec:"len"` Off uint32 `codec:"off"` Data []byte `codec:"data"` }
func NewFsUploadReq ¶
func NewFsUploadReq() *FsUploadReq
func (*FsUploadReq) Msg ¶
func (r *FsUploadReq) Msg() *NmpMsg
type FsUploadRsp ¶
func NewFsUploadRsp ¶
func NewFsUploadRsp() *FsUploadRsp
func (*FsUploadRsp) Msg ¶
func (r *FsUploadRsp) Msg() *NmpMsg
type ImageEraseReq ¶
type ImageEraseReq struct {
NmpBase `codec:"-"`
}
func NewImageEraseReq ¶
func NewImageEraseReq() *ImageEraseReq
func (*ImageEraseReq) Msg ¶
func (r *ImageEraseReq) Msg() *NmpMsg
type ImageEraseRsp ¶
func NewImageEraseRsp ¶
func NewImageEraseRsp() *ImageEraseRsp
func (*ImageEraseRsp) Msg ¶
func (r *ImageEraseRsp) Msg() *NmpMsg
type ImageStateEntry ¶
type ImageStateEntry struct { NmpBase Image int `codec:"image"` Slot int `codec:"slot"` Version string `codec:"version"` Hash []byte `codec:"hash"` Bootable bool `codec:"bootable"` Pending bool `codec:"pending"` Confirmed bool `codec:"confirmed"` Active bool `codec:"active"` Permanent bool `codec:"permanent"` }
type ImageStateReadReq ¶
type ImageStateReadReq struct {
NmpBase `codec:"-"`
}
func NewImageStateReadReq ¶
func NewImageStateReadReq() *ImageStateReadReq
func (*ImageStateReadReq) Msg ¶
func (r *ImageStateReadReq) Msg() *NmpMsg
type ImageStateRsp ¶
type ImageStateRsp struct { NmpBase Rc int `codec:"rc"` Images []ImageStateEntry `codec:"images"` SplitStatus SplitStatus `codec:"splitStatus"` }
func NewImageStateRsp ¶
func NewImageStateRsp() *ImageStateRsp
func (*ImageStateRsp) Msg ¶
func (r *ImageStateRsp) Msg() *NmpMsg
type ImageStateWriteReq ¶
type ImageStateWriteReq struct { NmpBase `codec:"-"` Hash []byte `codec:"hash"` Confirm bool `codec:"confirm"` }
func NewImageStateWriteReq ¶
func NewImageStateWriteReq() *ImageStateWriteReq
func (*ImageStateWriteReq) Msg ¶
func (r *ImageStateWriteReq) Msg() *NmpMsg
type ImageUploadReq ¶
type ImageUploadReq struct { NmpBase `codec:"-"` ImageNum uint8 `codec:"image"` Off uint32 `codec:"off"` Len uint32 `codec:"len,omitempty"` DataSha []byte `codec:"sha,omitempty"` Upgrade bool `codec:"upgrade,omitempty"` Data []byte `codec:"data"` }
func NewImageUploadReq ¶
func NewImageUploadReq() *ImageUploadReq
func NewImageUploadReqWithSeq ¶
func NewImageUploadReqWithSeq(seq uint8) *ImageUploadReq
func (*ImageUploadReq) Msg ¶
func (r *ImageUploadReq) Msg() *NmpMsg
type ImageUploadRsp ¶
func NewImageUploadRsp ¶
func NewImageUploadRsp() *ImageUploadRsp
func (*ImageUploadRsp) Msg ¶
func (r *ImageUploadRsp) Msg() *NmpMsg
type Listener ¶
type Listener struct { RspChan chan NmpRsp ErrChan chan error // contains filtered or unexported fields }
func NewListener ¶
func NewListener() *Listener
func (*Listener) AfterTimeout ¶
type LogClearReq ¶
type LogClearReq struct {
NmpBase `codec:"-"`
}
func NewLogClearReq ¶
func NewLogClearReq() *LogClearReq
func (*LogClearReq) Msg ¶
func (r *LogClearReq) Msg() *NmpMsg
type LogClearRsp ¶
func NewLogClearRsp ¶
func NewLogClearRsp() *LogClearRsp
func (*LogClearRsp) Msg ¶
func (r *LogClearRsp) Msg() *NmpMsg
type LogEntryType ¶
type LogEntryType int
func LogEntryTypeFromString ¶
func LogEntryTypeFromString(s string) (LogEntryType, error)
func (LogEntryType) MarshalBinary ¶
func (l LogEntryType) MarshalBinary() ([]byte, error)
func (LogEntryType) String ¶
func (l LogEntryType) String() string
func (*LogEntryType) UnmarshalBinary ¶
func (l *LogEntryType) UnmarshalBinary(data []byte) error
type LogLevelListReq ¶
type LogLevelListReq struct {
NmpBase `codec:"-"`
}
func NewLogLevelListReq ¶
func NewLogLevelListReq() *LogLevelListReq
func (*LogLevelListReq) Msg ¶
func (r *LogLevelListReq) Msg() *NmpMsg
type LogLevelListRsp ¶
func NewLogLevelListRsp ¶
func NewLogLevelListRsp() *LogLevelListRsp
func (*LogLevelListRsp) Msg ¶
func (r *LogLevelListRsp) Msg() *NmpMsg
type LogListReq ¶
type LogListReq struct {
NmpBase `codec:"-"`
}
func NewLogListReq ¶
func NewLogListReq() *LogListReq
func (*LogListReq) Msg ¶
func (r *LogListReq) Msg() *NmpMsg
type LogListRsp ¶
func NewLogListRsp ¶
func NewLogListRsp() *LogListRsp
func (*LogListRsp) Msg ¶
func (r *LogListRsp) Msg() *NmpMsg
type LogModuleListReq ¶
type LogModuleListReq struct {
NmpBase `codec:"-"`
}
func NewLogModuleListReq ¶
func NewLogModuleListReq() *LogModuleListReq
func (*LogModuleListReq) Msg ¶
func (r *LogModuleListReq) Msg() *NmpMsg
type LogModuleListRsp ¶
type LogModuleListRsp struct { NmpBase Rc int `codec:"rc"` Map map[string]int `codec:"module_map"` }
func NewLogModuleListRsp ¶
func NewLogModuleListRsp() *LogModuleListRsp
func (*LogModuleListRsp) Msg ¶
func (r *LogModuleListRsp) Msg() *NmpMsg
type LogShowLog ¶
type LogShowReq ¶
type LogShowReq struct { NmpBase `codec:"-"` Name string `codec:"log_name"` Timestamp int64 `codec:"ts"` Index uint32 `codec:"index"` }
func NewLogShowReq ¶
func NewLogShowReq() *LogShowReq
func (*LogShowReq) Msg ¶
func (r *LogShowReq) Msg() *NmpMsg
type LogShowRsp ¶
type LogShowRsp struct { NmpBase Rc int `codec:"rc" codec:",omitempty"` NextIndex uint32 `codec:"next_index"` Logs []LogShowLog `codec:"logs"` }
func NewLogShowRsp ¶
func NewLogShowRsp() *LogShowRsp
func (*LogShowRsp) Msg ¶
func (r *LogShowRsp) Msg() *NmpMsg
type MempoolStatReq ¶
type MempoolStatReq struct {
NmpBase `codec:"-"`
}
func NewMempoolStatReq ¶
func NewMempoolStatReq() *MempoolStatReq
func (*MempoolStatReq) Msg ¶
func (r *MempoolStatReq) Msg() *NmpMsg
type MempoolStatRsp ¶
type MempoolStatRsp struct { NmpBase Rc int `codec:"rc"` Mpools map[string]map[string]int `codec:"mpools"` }
func NewMempoolStatRsp ¶
func NewMempoolStatRsp() *MempoolStatRsp
func (*MempoolStatRsp) Msg ¶
func (r *MempoolStatRsp) Msg() *NmpMsg
type NmpHdr ¶
type NmpHdr struct { Op uint8 /* 3 bits of opcode */ Flags uint8 Len uint16 Group uint16 Seq uint8 Id uint8 }
func DecodeNmpHdr ¶
type Reassembler ¶
type Reassembler struct {
// contains filtered or unexported fields
}
func NewReassembler ¶
func NewReassembler() *Reassembler
func (*Reassembler) RxFrag ¶
func (r *Reassembler) RxFrag(frag []byte) []byte
type ResetReq ¶
type ResetReq struct {
NmpBase `codec:"-"`
}
func NewResetReq ¶
func NewResetReq() *ResetReq
type RunListReq ¶
type RunListReq struct {
NmpBase `codec:"-"`
}
func NewRunListReq ¶
func NewRunListReq() *RunListReq
func (*RunListReq) Msg ¶
func (r *RunListReq) Msg() *NmpMsg
type RunListRsp ¶
func NewRunListRsp ¶
func NewRunListRsp() *RunListRsp
func (*RunListRsp) Msg ¶
func (r *RunListRsp) Msg() *NmpMsg
type RunTestReq ¶
type RunTestReq struct { NmpBase `codec:"-"` Testname string `codec:"testname"` Token string `codec:"token"` }
func NewRunTestReq ¶
func NewRunTestReq() *RunTestReq
func (*RunTestReq) Msg ¶
func (r *RunTestReq) Msg() *NmpMsg
type RunTestRsp ¶
func NewRunTestRsp ¶
func NewRunTestRsp() *RunTestRsp
func (*RunTestRsp) Msg ¶
func (r *RunTestRsp) Msg() *NmpMsg
type ShellExecReq ¶
func NewShellExecReq ¶
func NewShellExecReq() *ShellExecReq
func (*ShellExecReq) Msg ¶
func (r *ShellExecReq) Msg() *NmpMsg
type ShellExecRsp ¶
func NewShellExecRsp ¶
func NewShellExecRsp() *ShellExecRsp
func (*ShellExecRsp) Msg ¶
func (r *ShellExecRsp) Msg() *NmpMsg
type SplitStatus ¶
type SplitStatus int
const ( NOT_APPLICABLE SplitStatus = iota NOT_MATCHING MATCHING )
type StatListReq ¶
type StatListReq struct {
NmpBase `codec:"-"`
}
func NewStatListReq ¶
func NewStatListReq() *StatListReq
func (*StatListReq) Msg ¶
func (r *StatListReq) Msg() *NmpMsg
type StatListRsp ¶
func NewStatListRsp ¶
func NewStatListRsp() *StatListRsp
func (*StatListRsp) Msg ¶
func (r *StatListRsp) Msg() *NmpMsg
type StatReadReq ¶
func NewStatReadReq ¶
func NewStatReadReq() *StatReadReq
func (*StatReadReq) Msg ¶
func (r *StatReadReq) Msg() *NmpMsg
type StatReadRsp ¶
type StatReadRsp struct { NmpBase Rc int `codec:"rc"` Name string `codec:"name"` Group string `codec:"group"` Fields map[string]interface{} `codec:"fields"` }
func NewStatReadRsp ¶
func NewStatReadRsp() *StatReadRsp
func (*StatReadRsp) Msg ¶
func (r *StatReadRsp) Msg() *NmpMsg
type TaskStatReq ¶
type TaskStatReq struct {
NmpBase `codec:"-"`
}
func NewTaskStatReq ¶
func NewTaskStatReq() *TaskStatReq
func (*TaskStatReq) Msg ¶
func (r *TaskStatReq) Msg() *NmpMsg
type TaskStatRsp ¶
type TaskStatRsp struct { NmpBase Rc int `codec:"rc"` Tasks map[string]map[string]int `codec:"tasks"` }
func NewTaskStatRsp ¶
func NewTaskStatRsp() *TaskStatRsp
func (*TaskStatRsp) Msg ¶
func (r *TaskStatRsp) Msg() *NmpMsg
Click to show internal directories.
Click to hide internal directories.